Skip to main content
Glama

Open a saved request

get_spec
Read-only

Reads a saved request and its current version.

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": {
      "spec_id": "<spec_id>"
    },
    "name": "get_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
spec_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered without the description. The description adds the one meaningful behavioral detail beyond that — that the result includes the spec's current version — but says nothing about behavior when spec_id is unknown, access permissions, or error conditions.

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 front-loaded sentence with no redundant wording; the resource and scope are stated immediately. For a simple single-parameter read tool, this is appropriately sized.

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

Completeness3/5

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

Annotations cover the safety profile and there is no output schema, so the description needn't explain return values in depth. However, with a required, fully undocumented spec_id and no mention of failure modes, an agent still lacks enough to call this confidently in edge cases.

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

Parameters2/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 burden for spec_id and adds nothing — no format, source (e.g., from list_specs), or validity constraints. The parameter name is fairly self-evident, which keeps this above a 1, but the description provides no real compensation for the coverage gap.

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?

The description pairs a specific verb ("Reads") with a resource ("a saved request") and adds the scope of returning the current version, so an agent can tell this fetches a single spec rather than listing them (list_specs) or fetching a shared one (get_shared_spec). It stops short of naming siblings explicitly, and the mismatch between the tool name (get_spec) and the phrase "saved request" adds a small inference step.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus list_specs, get_shared_spec, get_spec_revision, or spec_options. The only implicit cue is "current version," which loosely distinguishes it from a revision-specific fetch, but no condition or exclusion is stated.

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.