Skip to main content
Glama

get_openapi_spec

Retrieve the raw OpenAPI 3.1 specification for the Statesman API to inspect endpoints and schemas when building or validating integrations.

Instructions

Retrieve the raw OpenAPI 3.1 specification for the Statesman API.

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": "get_openapi_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and 'raw' is the only hint — it implies an unprocessed document rather than a summarized endpoint list. It says nothing about response format (JSON vs YAML), payload size and token cost, whether the spec is static or versioned, or whether any auth is required. For a zero-parameter dump of a potentially large document, those omissions matter.

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?

One sentence, front-loaded with the verb and the exact artifact returned. Nothing is padded and nothing needs to be moved earlier.

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?

For a simple zero-param read tool with no output schema, the description identifies the returned artifact well enough to call it correctly. It is incomplete on the practical details an agent needs before pulling a large raw document — format, approximate size, and whether the content is stable across calls.

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?

The tool takes no parameters, so the schema has nothing to explain and there is no semantic gap for the description to fill. Baseline 4 applies.

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?

States a specific verb and resource: retrieve the raw OpenAPI 3.1 specification for the Statesman API. An agent knows exactly what comes back, and no sibling in the catalog returns a spec document, so confusion risk is low. It stops short of an explicit sibling contrast, but none is really needed here.

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 only implied — an agent infers it should call this when it needs the API contract. There is no statement of when not to use it, whether the result should be preferred over introspection of other tools, or whether repeated calls are cheap.

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