Skip to main content
Glama

docs_search

Read-onlyIdempotent

Search published EvalGate documentation by keyword. Use it first when you have a question or topic but no page slug. Returns up to 10 ranked matches with slug, title, URL and summary; read a match in full with docs_get.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum matches to return, from 1 to 10; defaults to 10.
queryYesKeywords or a short question, e.g. 'regression gate' or 'how do API keys work'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum matches to return, from 1 to 10; defaults to 10."
    • addedInput schema / properties / query / description
      Added value: +"Keywords or a short question, e.g. 'regression gate' or 'how do API keys work'."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare this a read-only, idempotent, non-destructive, closed-world operation, so the safety profile is covered without prose. The description still adds real context beyond them: that only 'published' documentation is searched, that results are ranked and capped at 10, and what fields come back. It stops short of describing ranking or matching behavior, which keeps it from a 5.

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?

Three short sentences, each earning its place: what it does, when to reach for it, and what it returns plus the follow-up. The usage rule is front-loaded immediately after the purpose line, so the agent reads the routing guidance before any detail.

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?

There is no output schema, so the description carries the burden of return values, and it discharges that by naming slug, title, URL, and summary. Combined with the usage rule, the published-only scope, and the docs_get hand-off, an agent has everything needed to invoke this correctly for a two-parameter search tool.

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 coverage is 100% and both parameters already carry descriptions, examples, and the default of 10. The description adds only a light restatement ('by keyword', 'up to 10 ranked matches'), so it neither compensates for a gap nor extends parameter meaning beyond the schema. Baseline 3 applies.

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?

The description opens with a specific verb and resource — 'Search published EvalGate documentation by keyword' — which is unmistakable. It also explicitly separates itself from the sibling read tool by stating that 'docs_get' is for reading a match in full, so an agent can distinguish search from retrieval without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit selection rule: 'Use it first when you have a question or topic but no page slug,' and pairs that with the condition that routes to the alternative ('read a match in full with docs_get'). Both the when-to-use and the hand-off to the sibling are stated, leaving nothing to inference.

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