Skip to content

Activity map shows MCP output successfully, LLM couldn't see the output #390

@BenjiKCF

Description

@BenjiKCF

What sample tool are you using?
I am currently using Azure function MCP trigger, integrated with the copilot studio via tool (type MCP, enabled). It works and in the activity map, I can clearly see the output.

{
  "content": [
    {
      "text": "{\n  \"status\": \"success\",\n  \"message\": \"Found 49 sailing(s), showing 49\",\n  \"total_results\": 49,\n  \"displayed_results\": 49,\n  \"search_params\": {\n    \"pol\": \"CNSHA\",\n    \"pod\": \"USLAX\",\n    \"direct\": true,
\"\n    }\n  ]\n}... (I have skipped it to avoid big json dump here)",
      "type": "text"
    }
  ]
}

However, everytime I ask my LLM, it said it received an empty {} and couldn't see any output from the MCP.

Describe the bug
The bug is that the LLM couldn't see the actual output from the MCP, but the MCP is working, I have tried it on Github Copilot and it works, no problem.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Test'
  2. My prompt invoke the MCP
  3. Activity map shows output and raw output (not empty, text json)
  4. LLM said it couldn't see anything.

The tool execution message shows an empty output ({}), which means the MCP did not return any sailing data for the given criteria. There were no instructions in the message to change parameters or call another tool, so the result is genuinely empty.

Expected behavior
The LLM should be able to read my MCP output.

Screenshots

Image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions