Skip to main content
Glama

InspectAgents Docs

Search InspectAgents Docs

search_docs
Read-onlyIdempotent

Search the InspectAgents documentation (API and MCP docs, llms.txt, checklist, glossary, playbook, blog guides) for a question or keywords, e.g. "idempotency key" or "test mode". Returns the best-matching sections, each with its page path, URL, section heading and a text snippet; pass the path to get_doc to read the full page.

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
limitNoMaximum number of sections to return (default 5, max 20)
queryYesQuestion or keywords to search for

Output Schema

NameRequiredDescriptionDefault
queryYes
totalYesNumber of matching sections
resultsYes
returnedYesNumber of sections in this response

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered. The description adds useful behavior beyond that: it names the retrieval scope and describes the shape of results (page path, URL, section heading, text snippet) plus the intended chaining step. No rate limits or ranking behavior disclosed, which keeps it short of 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?

Two tight sentences: the first states what is searched and what comes back, the second states the follow-up action. Purpose and next step are front-loaded with no filler.

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?

For a two-parameter, read-only search tool with an output schema present, the description covers corpus scope, query style, result shape and the chaining step to get_doc. Nothing an agent needs in order to call it correctly is missing.

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 parameters are already documented, and the description settles at the baseline. It reinforces that query accepts either a natural-language question or keywords via examples, but says nothing about the limit parameter or how it affects result quality.

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 the InspectAgents documentation") and enumerates the covered corpora (API/MCP docs, llms.txt, checklist, glossary, playbook, blog guides). It also signals the boundary with get_doc by describing the handoff, so an agent can distinguish the two tools 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 Guidelines4/5

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

It gives concrete query examples ("idempotency key", "test mode") and states the follow-up path: pass the returned path to get_doc for the full page. That is clear when-to-use context and routes to the alternative, though it never explicitly says to skip this tool when the page path is already 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.