Skip to main content
Glama

Intents Route

Read an Intents docs page

get_doc
Read-onlyIdempotent

Read one Intents docs page as markdown. Pass a path (/checkout/quickstart, /errors/INVOICE_NOT_OPEN) or a full intents.fi/docs URL; /llms.txt lists every page. Only the docs host is fetched.

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": {
      "page": "<page>"
    },
    "name": "get_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesA docs path or URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds value beyond them by asserting 'Only the docs host is fetched' — a useful scope/security guarantee — and by promising markdown rendering. It does not say what happens on a nonexistent path or whether responses are truncated.

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?

Two short sentences with the core action and return format front-loaded, followed by accepted input forms and the discovery pointer. No filler or redundancy.

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

Completeness5/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 lookup with no output schema, the description covers action, accepted inputs, output format, discovery source, and fetch scope. An agent has everything needed to call it correctly; error behavior is a minor omission.

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% and the single `page` param is documented, so the baseline is 3. The description earns extra by showing the accepted path shapes and establishing that a full URL is also valid, which clarifies accepted input formats beyond 'A docs path or URL'.

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 ('Read one Intents docs page') plus the output format (markdown), which is more than a restatement of the title. It implicitly contrasts with search-style siblings by emphasizing reading a single page by path/URL, though it never names search_docs explicitly.

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?

Gives concrete triggering context: supply a docs path like `/checkout/quickstart` or an `/errors/...` path, or a full intents.fi/docs URL. It also points to `/llms.txt` as the page index for discovery, which is a real alternative-to-guessing route. It stops short of explicit when-not-to-use guidance or naming search_docs as the alternative for 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.