Skip to content

Optimize MCP tool usage (reduce redundant calls) #11

@coderooz

Description

@coderooz

Context:
Repeated tool calls expand prompt unnecessarily.

Problem:
search_context and other tools are called multiple times.

Tasks:

  • Restrict search_context to once per task
  • Implement session-level caching
  • Avoid redundant retrievals

Goal:
Reduce repeated context injection and token usage.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestinfraInfrastructure / toolingmcpMCP protocol relatedperformancePerformance related issuepriority: highHigh priority

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions