Skip to content

Trim always-loaded MCP instructions and advertised tool schemas - #11

Merged
Krokz merged 2 commits into
devfrom
feature/m30-surface-trim
Sep 23, 2026
Merged

Krokz merged 2 commits into
devfrom
feature/m30-surface-trim

Conversation

@Krokz

@Krokz Krokz commented Sep 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Tool schemas (c793eac): the advertised input schemas drop the JSON Schema title annotations generated from parameter names. Total listing: 16,893 → 14,868 bytes (−12%). A property named title survives, and argument validation is unchanged.
  • MCP instructions (bb36a15): removed four lines that repeat the relevant tool's own description. 2,103 → 1,895 bytes.

With the condensed project block from #10, always-loaded grag text goes from 4,769 to 3,087 bytes (−35%). These are byte changes only; no session-cost claim.

Test plan

  • MCP, agent-cost, remote-proxy, freshness and skill tests
  • New test: generated titles removed, title properties kept
  • Ruff and mypy

🤖 Generated with Claude Code

@Krokz
Krokz merged commit bb36a15 into dev Sep 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant