Repository navigation
feat(mcp): posts and comments reads default to view=summary for agents - #90
Merged
Merged
Conversation
Contributor
Author
Review
QA
Metrics
Post-deploy: Sentry returned chars per tool, same weekday window as the Nov 11 baseline, |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gintm
force-pushed
the
perf/mcp-slim-posts-and-comments
branch
from
November 12, 2026 12:15
86356b0 to
b2ea47c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
zernio-dev/Schedule-Posts-API#8198 adds
view=summarytoGET /v1/posts,GET /v1/inbox/comments/{postId}andGET /v1/inbox/comments. Measured on real data: comment pages 18.4K → 7.1K chars on average (−61%, 324 cached prod pages), a 40-post page 122-157K → 23-39K (−75 to −84%). The MCP should ask for it by default.What
AGENT_VIEWS:listPosts,getInboxPostCommentsandlistInboxCommentsdefaultviewtosummary(the agent can still passfull).view; the next regeneration after #8198 deploys picks it up.🤖 Generated with Claude Code