Skip to main content
Glama

Search docs

search_docs
Read-onlyIdempotent

Searches OpenFile's docs and returns the best sections with a link to each.

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

Input Schema

NameRequiredDescriptionDefault
qYesWhat to look for, like `registered agent` or `how do I change an application`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered without the description's help. The description does add genuine value by disclosing the return shape (ranked sections plus a link per result), but says nothing about result-count limits, ranking behavior, or how empty results are reported.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence with zero filler, front-loading the action and resource before the return description. It is appropriately sized for a one-parameter search tool, though the brevity leaves no room for the routing guidance an agent would benefit from.

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?

For a single-parameter search with rich annotations, a fully documented parameter, and no output schema, the description covers enough to call it correctly: what it searches and what it returns. Remaining gaps, such as result limits and how to follow up with read_doc, are minor but non-zero.

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?

There is a single parameter and its schema description is fully populated with concrete query examples, so the schema carries the semantic load. The tool description adds nothing about query syntax, natural-language vs keyword matching, or length constraints beyond what the schema already says; baseline 3 applies at 100% coverage.

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 ("Searches OpenFile's docs") plus a summary of what comes back ("best sections with a link to each"). It is clearly distinct from the sibling read_doc, which retrieves a document rather than searching, though the description never names that sibling to make the contrast explicit.

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: the word "Searches" signals a query-driven lookup, so an agent can infer it is the entry point when it doesn't know which doc to read. There is no explicit when-to-use, no when-not-to-use, and no pointer to read_doc or search_marks as alternatives once a specific doc is known.

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