Skip to main content
Glama

search_documentation

Read-onlyIdempotent

Search SWG bar's published documentation in one of its 12 website languages. Returns source links and excerpts; cannot inspect a Mac or private data.

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_documentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
localeNoen

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false already declared, the description still adds real value: it discloses the return shape ('source links and excerpts'), the language dimension, and the explicit capability limits. It does not describe ranking, pagination, or behavior when no results match.

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, zero filler, with the core capability and return shape front-loaded and the limitation trailing. Nothing could be removed without losing information.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple 3-parameter read tool with no output schema, the description covers purpose and return type adequately. It falls short on parameter behavior (limit ceiling, query matching) and on result-count expectations, which an agent needs to call it correctly.

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 description coverage is 0%, so the description must carry the burden. It corroborates the locale dimension ('12 website languages') but says nothing about 'query' semantics (max 200 chars, matching behavior) or 'limit' (default 3, max 5), leaving two of three parameters unexplained anywhere.

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 (search) and resource (SWG bar's published documentation), plus scope (12 website languages) and a negative boundary (cannot inspect a Mac or private data). The search-vs-get distinction from siblings like get_documentation is implied but never named explicitly.

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?

The clause 'cannot inspect a Mac or private data' gives an implicit when-not-to-use boundary, which is useful. However, no alternative tool is named for those cases, and there is no positive guidance on when documentation search is preferable to get_documentation or get_product_catalog.

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