Skip to main content
Glama

Intents Route

Search the Intents docs

search_docs
Read-onlyIdempotent

Search the Intents docs and get the best-matching pages with a snippet. Covers Intents Checkout, Intents Route, Intents Swap, webhooks, the API reference, error codes and agent setup; read a page in full with get_doc.

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": {
      "query": "<query>"
    },
    "name": "search_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesWhat you are looking for, in words

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is fully covered structurally. The description adds useful behavioral context about result shape ('best-matching pages with a snippet') and topical scope, but says nothing about result count, ranking, truncation or failure behavior — and with limit defaulting to 5 and capping at 20, that's a real behavioral detail left unaddressed.

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 sentences, no filler: the first states what the tool does and returns, the second covers scope and the follow-up action. Front-loaded and every clause carries information the agent needs.

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?

An output schema exists, so return values need not be explained, and annotations carry the safety profile; the description covers purpose, scope, and the get_doc follow-up. The one gap is the undocumented limit parameter — an agent wanting more than 5 results has no textual cue that widening is even possible.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: the query parameter is documented in-schema but limit is not, and the description never mentions limit, its default of 5, or the maximum of 20 — the very thing an agent may need to adjust to get broader coverage. The description's only hint, 'read a page in full with get_doc,' is guidance, not parameter semantics, so it does not compensate for the undocumented parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Search the Intents docs') and immediately qualifies the result ('best-matching pages with a snippet'), so the agent knows exactly what comes back. It goes further and enumerates the covered topic areas (Checkout, Route, Swap, webhooks, API reference, error codes, agent setup), which sharply distinguishes it from siblings like get_doc or explain_error.

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?

The closing clause 'read a page in full with get_doc' explicitly routes the agent to the correct alternative once a page is identified, which is the main decision an agent faces here. What's missing is the inverse exclusion — no statement about when not to use search (e.g. when the exact page title is already known), but the search-then-read flow is clear.

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.