Skip to main content
Glama

API reference section

get_api_reference
Read-only

The full reference for one part of the API. Sections: authentication, checkout-sessions, get-checkout, payments, quote, connect, payouts, links-invoices, books, webhooks, embed, countries.

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": {
      "section": "<section>"
    },
    "name": "get_api_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionYesWhich part of the API reference to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / section / enum
      Previous value: -[
      -  "authentication",
      -  "checkout-sessions",
      -  "get-checkout",
      -  "payments",
      -  "quote",
      -  "connect",
      -  "payouts",
      -  "links-invoices",
      -  "webhooks",
      -  "embed",
      -  "countries"
      -]New value: +[
      +  "authentication",
      +  "checkout-sessions",
      +  "get-checkout",
      +  "payments",
      +  "quote",
      +  "connect",
      +  "payouts",
      +  "links-invoices",
      +  "books",
      +  "webhooks",
      +  "embed",
      +  "countries"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / section / description
      Added value: +"Which part of the API reference to return."
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered and the bar is lower. The description adds that the return is the 'full reference' for one section (i.e. static documentation, not live data), but says nothing about output format, size, or whether a section can be large enough to warrant multiple calls.

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 short sentences with the purpose front-loaded and no filler. The enumerated section list is somewhat redundant against the schema enum, but it aids scanning and costs little.

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 one-parameter, read-only documentation lookup, the definition covers what the tool returns and which slices exist. The only real gap is the undisclosed return format, which matters slightly since no output schema is provided.

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 parameter is a closed enum, so the schema already carries all the semantics. The description's section list merely restates the enum values without adding guidance on how to choose among them, so baseline 3 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: it returns 'the full reference for one part of the API', and enumerates the exact sections available. An agent knows exactly what it gets, but the description never distinguishes it from near siblings such as get_openapi or integration_example.

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 implied by the section list — an agent can infer this is the lookup for a named API area — but there is no explicit statement of when to prefer this over get_openapi or explain_error, and no note on prerequisites or ordering (e.g. read authentication first).

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