Skip to main content
Glama
microsoft-copilot-studio-metadata-mcp

microsoft-copilot-studio-metadata-mcp

by tdries

Get agent

get_agent
Read-onlyIdempotent

Retrieves and decodes a Copilot Studio agent's settings, instructions, actions, knowledge, topics, and dependencies to inspect its structure and identify components for deeper review.

Instructions

Everything about one agent, decoded: settings, instructions, actions, knowledge, topics, dependencies.

agent: id, schema name or (part of) the name. detail: "summary" (topics counted by origin, custom
topic names listed) or "full" (every topic with trigger, origin and step count).
Topic origin is system (fired by the platform), template (shipped with every new agent) or custom.
For an action, credential_mode Maker means every user acts with the maker's own credentials.
Use get_component with an id from this answer to read one part in full.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent": "<agent>"
    },
    "name": "get_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYes
detailNosummary

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower; the description still adds useful interpretation context such as the topic origin taxonomy (system/template/custom) and what credential_mode Maker means for an action. It stops short of disclosing output volume or behavior when the agent is missing or ambiguous.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence is front-loaded and each following block earns its place by defining a term the agent will need to interpret results. The taxonomy and credential_mode sentences are dense but justified; the paragraph breaks are slightly awkward but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be spelled out, yet the description still explains the two detail levels and the follow-up path via get_component. For a two-parameter read tool with full annotation coverage, nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the load, and it does: agent accepts an id, a schema name, or part of the name, and detail is precisely defined with what summary counts versus what full includes (trigger, origin, step count). This is meaning that the bare schema does not provide.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource and scope ("Everything about one agent, decoded") and enumerates the returned sections: settings, instructions, actions, knowledge, topics, dependencies. It also distinguishes itself from get_component by naming that sibling as the way to read a single part in full.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly routes follow-up reads to get_component with an id from this answer, and explains the summary vs full choice for the detail parameter. It does not say when to prefer list_agents over this tool, so a small gap remains.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.