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

microsoft-copilot-studio-metadata-mcp

by tdries

Inventory health

inventory_health
Read-onlyIdempotent

Checks all Copilot Studio agents against governance rules and returns ranked findings by severity and category, so you can identify security, lifecycle, hygiene, quality, and model issues.

Instructions

Run the governance rules over every agent and return the findings, most serious first.

Rules by category. security: no_authentication, open_to_any_user, maker_credentials, raw_http_calls,
web_browsing, low_content_moderation. lifecycle: never_published, unpublished_changes, stale,
not_provisioned (failed or missing licence), last_publish_failed, unresolved_dependency. hygiene: default_name, empty_agent, duplicate_instructions.
quality: thin_instructions, action_without_description, model_knowledge_fallback.
model: undecoded_components.
Filters: category, severity (high, medium, low, info), agent (id or name). stale_days sets the
threshold for the stale rule. The answer starts with counts per rule and per severity.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "inventory_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNo
categoryNo
severityNo
stale_daysNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered. The description adds real behavioral value beyond that: results are ordered by severity, the response begins with counts per rule and per severity, and the full rule catalogue is enumerated so the agent knows what may be reported. It does not say whether findings are paginated or truncated for large inventories.

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

Conciseness5/5

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

Front-loaded with the purpose and output ordering, then the rule catalogue grouped by category, then filters. The rule enumeration is long but earns its place because it tells the agent what findings to expect rather than leaving rule names opaque.

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?

An output schema exists, so return structure need not be re-explained, yet the description still notes the leading per-rule and per-severity counts. Combined with the full rule list and filter semantics this is nearly complete; the only gap is cost/scale behavior over a large agent inventory.

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 load and largely does: it names all four filters and gives the severity enum values (high, medium, low, info), the implicit category values (security, lifecycle, hygiene, quality, model), that agent accepts an id or a name, and that stale_days tunes the stale rule. The default of 180 and the allowed range of stale_days are left to the schema.

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 action (run governance rules), a specific scope (over every agent), and the output ordering (most serious first). No sibling in the list performs a health/governance sweep, so the definition alone is enough to distinguish it from list_agents, get_agent, or aggregate.

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

Usage Guidelines3/5

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

Usage is implied by 'run the governance rules over every agent' plus the filter list, but there is no explicit when-to-use/when-not guidance and no pointer to alternatives (e.g. use get_agent for a single agent's details). An agent must infer that this is the audit entry point.

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