Is it possible to send different data to MCP App vs Agent? #426
Unanswered
rohithrangaraju-tomtom
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
The Challenge
The same content from a tool result goes to both:
The MCP App (via app.ontoolresult)
The AI agent (as tool result in conversation)
For geospatial tools, this is problematic:
App needs: Full coordinate arrays (legs[].points[] for route polylines, boundary[] for polygons)
Agent needs: Just summaries (distance, duration, counts) - coordinate arrays waste tokens
Is there a way in the current MCP Apps/MCP architecture to:
Send full data to the App for visualization
Send trimmed data to the agent
Beta Was this translation helpful? Give feedback.
All reactions