You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP tools from other modules return recorded data without the warning #64
The core labels every successful MCP response with a recorded_data line, telling an agent the values are evidence and never instructions. That line is added in McpProfilePresenter::envelope(), so a tool another module registers on Mcp\Server, with its own envelope, reaches the agent without it. The Commerce365 add-on's get_c365_calls and get_c365_prices are such tools, and with bodies: true they return Hub and Business Central request and response bodies.
Fix
Mcp\Server::callTool() adds the note to every successful result that does not carry one, so no add-on has to remember it.
Activity
allrude commentedon Oct 31, 2026
Fixed in #65, released in 1.5.1.