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

microsoft-copilot-studio-metadata-mcp

by tdries

Get component

get_component
Read-onlyIdempotent

Retrieves an agent component by ID, returning decoded details and optional raw YAML. Inspect topics and actions to see triggers, steps, flows, connections, credentials, and inputs/outputs.

Instructions

One part of an agent in full: the decoded reading and the raw YAML definition.

component_id: a botcomponentid from get_agent, search or find_agents_using.
For a topic you get the trigger, trigger phrases, every step kind, flows and connections called,
HTTP endpoints and variables. For an action you get what it calls, with which credentials, and its
inputs and outputs. Set include_raw=false to leave the YAML out.

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": {
      "component_id": "<component_id>"
    },
    "name": "get_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_rawNo
component_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), so credit here goes to the added payload context: the description discloses that action components expose calls along with the credentials used, and topics expose triggers, step kinds, flows, HTTP endpoints and variables. That is meaningful behavioral detail an agent cannot get from the annotations. It does not mention failure behavior for an invalid ID or how large the raw YAML can be.

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 core purpose is front-loaded in the first sentence, followed by parameter guidance and then payload detail. The dense clause listing topic contents earns its space because it defines what "in full" means. Slightly run-on, but no filler sentences.

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

Completeness4/5

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

With an output schema present, return shape need not be explained, yet the description still characterizes the payload per component type, which is the most valuable addition. Combined with annotations covering safety and clear ID provenance, an agent has enough to invoke it correctly. Only minor gaps remain, such as error handling and payload size.

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

Parameters4/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 parameters, and it does: component_id is defined as a botcomponentid with its source tools, and include_raw is explained as omitting the YAML (its true default lives in the schema). Coverage is good but the ID format/syntax and the default's implications for payload size are not elaborated.

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

Purpose4/5

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

"One part of an agent in full" states the resource and the scope (full detail for a single component), which distinguishes it from the whole-agent sibling get_agent. It also spells out what "full" means per component type (topics vs actions), so an agent knows exactly what it retrieves. It stops short of naming the sibling to use instead when the whole agent is wanted.

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?

Strong routing guidance for the required parameter: the ID comes "from get_agent, search or find_agents_using," which tells the agent which prerequisite tools to call first. The include_raw=false tip gives a concrete usage decision. There is no explicit when-not-to-use statement (e.g., when a summary suffices), so it is clear context rather than full exclusion guidance.

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