Skip to main content
Glama

get_extension

Read-only

One OpenAPI specification extension: its publishers, occurrence and document counts, where it appears, and the value shapes observed. CHECK is_api_evangelist BEFORE treating a key as provider-originated — some of these are published by API Evangelist, not by a vendor.

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": {
      "slug": "<slug>"
    },
    "name": "get_extension"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesExtension key as find_extensions returns it, e.g. "x-nullable".
viewNosummary is lean.summary
contextNoOptional: one sentence on why you are asking. Never used to rank; read only if a result is wrong.
include_nextNoSet false to omit the `next` affordance block.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / view / description
      Previous value: -"summary (default, lean) or full."New value: +"summary is lean."
  2. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Optional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable."New value: +"Optional: one sentence on why you are asking. Never used to rank; read only if a result is wrong."
    • changedInput schema / properties / view / description
      Previous value: -"summary (default) returns lean discovery records + *_count for dropped sections; full returns the whole record (use get_api / get_provider for one entity)."New value: +"summary (default, lean) or full."
  3. Changed1 schema field changed
    • addedInput schema / properties / slug / description
      Added value: +"Extension key as find_extensions returns it, e.g. \"x-nullable\"."
  4. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so safety is covered. Beyond that, the description discloses the shape of the payload (publishers, counts, locations, observed value shapes) and adds a non-obvious provenance caveat that some extensions are API Evangelist publications rather than vendor-originated — genuine behavioral context an agent could not get from structured fields.

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: the payload summary is front-loaded and the provenance warning follows, with no filler. The all-caps 'CHECK' is slightly jarring but keeps the caution scannable, and nothing in the text is redundant.

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 four-parameter read tool with full schema coverage and no output schema, the description does the necessary work by enumerating return contents and flagging the attribution pitfall. The missing piece is pagination or size expectations tied to the `next` affordance, which the agent only learns about through the schema.

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 description coverage is 100%, with all four parameters documented including the view enum and the include_next toggle, so the baseline of 3 applies. The description adds only one piece of param-relevant meaning — that slug is the key as find_extensions returns it — and says nothing further about view or context.

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 opens with a specific resource ('One OpenAPI specification extension') and enumerates exactly what comes back: publishers, occurrence and document counts, where it appears, and value shapes. That separates it from generic siblings like get_openapi or get_provider_schema, though it never names a sibling outright to sharpen the contrast.

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?

There is real guidance, but it is about interpretation rather than selection: 'CHECK is_api_evangelist BEFORE treating a key as provider-originated' tells the agent how to read the result, not when to call this tool versus another. The slug parameter's reference to find_extensions implies a lookup-then-detail workflow, but that sequencing is left for the agent to infer.

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.

Resources