web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Copilot agents not abl...
Copilot Studio
Unanswered

Copilot agents not able to understand requests schema while calling MCP tools

(1) ShareShare
ReportReport
Posted on by 72

Hello,

I have a remote MCP server running which has multiple tools running over HTTP Streamable. One of the tool has the request format as

public class WorkspaceContext
{
public long WorkspaceId { get; set; }
public string? Concern { get; set; }
public string? Company { get; set; }
}

When the copilot agent tries to connect to the mcp tool it passes the request as

{
"company": {
"code": "12"
},
"concern": {
"code": "11"
},
"workspaceId": 111245
}
which keeps on failing. Even after doing tools-list and getting the request schema, agents don't follow it.

These cases works when we have simple request types like string, int etc. but for the complex ones it fails.

I have the same question (5)
  • dezrrm Profile Picture
    26 on at
    I think you need to dumb it down for it.  Like you said, it works with simple request types.  I've had similar issues with it not understanding optional parameters.
    It won't ask the user if they want to fill something in for those parameters, so this is in the instructions for the non-optional parameter and it works:
    "Ask the user the Name of the contact associated with the task (optional).  Submit 'no contact' if user does not want a contact."
     
    You didn't say what the schema should be so I'll just make something up:

    public class WorkspaceContext
    {
    public long WorkspaceId { get; set; }
    public string ConcernCode { get; set; }
    public string CompanyCode { get; set; }
    }
     
    and then transform that into the shape you need for your internal API.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 263

#2
Vish WR Profile Picture

Vish WR 161

#3
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 153 Super User 2026 Season 1

Last 30 days Overall leaderboard