Skip to main content
Glama

CGM capabilities

cgm_capabilities
Read-onlyIdempotent

Discover supported CGM providers, configured integrations, available metrics, and privacy modes.

Instructions

Lists supported providers, configured providers (via env vars), available metrics, and privacy modes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
privacy_modeNoOptional privacy mode: summary | structured | raw. summary omits device/patient identifiers when present; structured/raw return full payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.4
  2. Removedv0.4.1
  3. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, covering the safety profile. The description adds a minor behavioral detail (configured providers come from env vars) but doesn't disclose output format, ordering, or any other behavioral traits. Since annotations carry the safety burden, a 3 is appropriate – the description adds some context but not rich behavioral detail.

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?

A single, tightly written sentence that front-loads the verb 'Lists' and packs all key output categories without redundancy. Every word earns its place.

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?

For a simple read-only tool with one optional parameter, the description covers the primary outputs (providers, metrics, privacy modes) and the parameter is fully documented. It doesn't explicitly state the return structure, but given no output schema and the clear 'lists' verb, it's sufficient for an agent to call it correctly. Minor gap: could mention that it returns an inventory or list format, but not essential.

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

Parameters3/5

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

The input schema has 100% coverage: the privacy_mode parameter is fully described with its enum values and effects. The tool description adds no additional parameter information, so the baseline 3 is correct – the schema does the heavy lifting.

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?

The description uses a specific verb 'Lists' and clearly scopes the resource: supported/configured providers (via env vars), available metrics, and privacy modes. This content distinguishes it from sibling tools like cgm_data_inventory or cgm_connection_status, so an agent can identify it as the capabilities inventory tool without ambiguity.

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?

The description implies usage ('if you need to know what's supported, use this') but provides no explicit alternatives or exclusions. It does not mention when not to use it or how it compares to sibling tools like cgm_privacy_audit. This is an implied usage, not explicit guidance.

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