Skip to main content
Glama

fetch_doc

Fetch Alter documentation by slug (e.g. "quickstart"). Guides, indexes and skills are served in-band; generated provider operation and model pages link to the full public reference. Accepts any spelling the docs use: a bare slug, a leading slash, a #section anchor, a full docs.alterauth.com URL, or an older path that now redirects. Omit the slug to list every page.

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

Input Schema

NameRequiredDescriptionDefault
slugNoDoc slug, e.g. "guides/call-apis-on-behalf-of-users".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses that guides, indexes and skills come back in-band while generated provider/model pages return links to the public reference, so the agent knows some calls yield pointers rather than content. It also discloses that legacy paths redirect. It is silent on error behavior for unknown slugs and on any auth or rate constraints.

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?

Four sentences, each carrying a distinct fact, with the core purpose front-loaded before the input-format and default-behavior details. Dense but not padded; the examples are doing real work rather than restating the schema.

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-param, zero-annotation tool with no output schema, the description covers what is retrieved, what comes back in-band versus as a link, accepted input forms, and the no-arg listing mode. The remaining gap is failure behavior on an unknown slug, which an agent might reasonably want to know before calling.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine value beyond the schema: it enumerates the accepted spellings (bare slug, leading slash, #anchor, full URL, redirecting legacy path) and confirms optionality with the list-all behavior. That directly reduces failed calls on format mismatch.

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 verb+resource: "Fetch Alter documentation by slug," and elaborates on what is served in-band versus linked out. It does not name a sibling, so an agent has to infer that search_docs is the discovery counterpart, but the fetch-single-page framing is unambiguous.

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?

"Omit the slug to list every page" is an explicit usage rule covering the zero-arg case, which most tools leave implicit. The accepted-input-format sentence tells the agent it can pass whatever form it has. It stops short of naming search_docs as the alternative for keyword discovery.

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