Skip to main content
Glama

Inspect a capability

get_capability
Read-onlyIdempotent

Retrieve the full TRACE Manifest for one capability: promise and exclusions, input/output JSON Schemas, interfaces, pricing, operational facts, data-handling declarations, evidence and provenance. Call this on search finalists before quoting or invoking — it is the contract the receipt binds to.

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": {
      "capability_id": "<capability_id>"
    },
    "name": "get_capability"
  }
}

Input Schema

NameRequiredDescriptionDefault
capability_idYese.g. 'exchangerate-api.latest-rates'

Output Schema

NameRequiredDescriptionDefault
manifestYesTRACE Manifest — https://tracert.site/schemas/manifest/v0.1
input_schemaYesJSON Schema for invoke_capability input
router_notesNo
manifest_hashYes
output_schemaYesJSON Schema for the capability output

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "input_schema": {
      +      "additionalProperties": {},
      +      "description": "JSON Schema for invoke_capability input",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "manifest": {
      +      "additionalProperties": {},
      +      "description": "TRACE Manifest — https://tracert.site/schemas/manifest/v0.1",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "manifest_hash": {
      +      "type": "string"
      +    },
      +    "output_schema": {
      +      "additionalProperties": {},
      +      "description": "JSON Schema for the capability output",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "router_notes": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "manifest",
      +    "manifest_hash",
      +    "input_schema",
      +    "output_schema"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuine context beyond that: the response is the binding contract that receipts reference, which signals the result should be treated as authoritative and cached rather than re-fetched. It doesn't mention latency, size, or failure modes for an unknown capability_id.

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?

Two sentences, tightly front-loaded: the payload enumeration comes first and the usage rule last with an em-dash rationale. The middle list is long but each item is a real section an agent might need to check before quoting, so it earns its space; slightly dense for a single sentence.

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-value structure needn't be explained, and the rich annotations cover safety semantics. With one fully documented parameter and a stated workflow position, nothing an agent needs in order to invoke this correctly is missing.

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?

Schema coverage is 100% and the single capability_id parameter already carries an example ('exchangerate-api.latest-rates'). The description adds no meaning about identifier format, namespace resolution, or what happens on a miss, so the baseline of 3 applies.

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 verb and resource ('Retrieve the full TRACE Manifest for one capability') and then enumerates exactly what that manifest contains: promise/exclusions, schemas, interfaces, pricing, operational facts, data-handling, evidence, provenance. An agent can distinguish this fetch-one-contract tool from search_capabilities or get_route without opening a schema.

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?

Gives explicit placement in the workflow: 'Call this on search finalists before quoting or invoking,' which implicitly routes the agent away from this tool for broad discovery and toward it as a pre-commitment step. It stops short of naming siblings (search_capabilities, get_quote, invoke_capability) explicitly or stating when-not to call it (e.g., if the manifest is already in hand).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.