Claude models fail silently in Foundry Agent Service MCP pipeline — tool results not propagated back to model

Vivek Kumar (Admin) 0 Reputation points
2026-06-30T08:51:46.49+00:00

Issue: Claude Sonnet models (4.5 and 4.6) in Foundry Agent Service fail when MCP tool results are returned to the model. GPT-5 works correctly with identical configuration.
Models tested:

  • claude-sonnet-4-6 — fails
  • claude-sonnet-4-5-2 — fails
  • gpt-5 — works correctly with identical MCP configuration

Symptoms: MCP tool calls (data_find_entity_type, data_get_entity_metadata) execute successfully — confirmed by green checkmarks in traces and F&O returning data. However the tool results are never propagated back to the Claude model for the next reasoning step. The trace shows "events": [] at the invoke_agent span level and the response ends with server_error.

What works:

  • OAuth consent and authentication chain completes successfully
  • mcp_list_tools executes and returns the F&O tool catalogue
  • Individual MCP tool calls reach F&O and return data (confirmed via traces)
  • GPT-5 with the same MCP tool configuration completes multi-step tool chains successfully

What fails:

  • After any MCP tool call, Claude models receive server_error instead of the tool result
  • Trace events: [] — no tool result events recorded at agent invocation level
  • Consistent across new conversations, different query types, and both Claude model versions Models tested:
    • claude-sonnet-4-6 — fails
      • claude-sonnet-4-5-2 — fails
        • gpt-5 — works correctly with identical MCP configuration
    Symptoms:
    MCP tool calls (data_find_entity_type, data_get_entity_metadata) execute successfully — confirmed by green checkmarks in traces and F&O returning data. However the tool results are never propagated back to the Claude model for the next reasoning step. The trace shows "events": [] at the invoke_agent span level and the response ends with server_error. What works:
    • OAuth consent and authentication chain completes successfully
      • mcp_list_tools executes and returns the F&O tool catalogue
        • Individual MCP tool calls reach F&O and return data (confirmed via traces)
          • GPT-5 with the same MCP tool configuration completes multi-step tool chains successfully
    What fails:
    • After any MCP tool call, Claude models receive server_error instead of the tool result
    • Trace events: [] — no tool result events recorded at agent invocation level
    • Consistent across new conversations, different query types, and both Claude model versions
    Note: Microsoft's own documentation explicitly recommends Claude Sonnet 4.5 for the Dynamics 365 ERP MCP server (learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/copilot/build-agent-mcp). This makes the Claude+MCP pipeline a supported and documented scenario that is currently broken. Do anyone has any ideas.
Foundry Models
Foundry Models

A catalog of AI models in Microsoft Foundry that you can discover, compare, and deploy using Azure’s built‑in tools for evaluation, fine‑tuning, and inference


1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.