Skip to main content
Glama

DeveloperHub Docs

Search documentation

search
Read-only

Search the documentation by keywords and return the most relevant excerpts, each with its source page title and link.

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

Input Schema

NameRequiredDescriptionDefault
queryYesA few keywords, the words the page itself would use (e.g. "webhook signature"), rather than a whole question. Search again with other words when nothing useful comes back.
versionNoA version slug from list_versions. Leave it out for the default version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"A natural-language question or search query about the documentation"New value: +"A few keywords, the words the page itself would use (e.g. \"webhook signature\"), rather than a whole question. Search again with other words when nothing useful comes back."
  2. Changed1 schema field changed
    • addedInput schema / properties / version
      Added value: +{
      +  "description": "A version slug from list_versions. Leave it out for the default version.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the result shape (excerpts plus source title and link) and that results are relevance-ranked, but says nothing about result limits, pagination, or behavior when no matches are found.

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?

A single well-formed sentence with the primary action and the return content front-loaded; nothing is redundant or padded.

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?

With only two fully documented parameters, no output schema, and annotations covering safety, the description covers what an agent needs to call it. Minor gaps around result count or ranking behavior do not block correct invocation.

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 description coverage is 100%, so both 'query' and 'version' are already documented in detail, including the keyword-style phrasing and the retry hint. The description adds no parameter meaning beyond the schema, so the 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?

The description gives a specific verb and resource ('Search the documentation by keywords') and states what comes back ('most relevant excerpts, each with its source page title and link'). That is enough to separate it from read_page/list_pages siblings, though no sibling is 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?

Usage is only implied: an agent can infer this is the tool for keyword lookup when it doesn't already know which page to read. There is no statement of when to prefer read_page or list_pages instead, and no exclusions.

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