Skip to main content
Glama

Ferrite

Search the docs

search_docs
Read-onlyIdempotent

SEARCH the Ferrite documentation: the published developer docs (the ferrite CLI and its local loop, ferrite add packages, authentication, Alloy, Rsx, data, agents, deploy, observe, limits), the support guides, and the platform documents read_docs serves. Large documents are searched section by section. Returns up to limit ranked matches {doc,title,section,heading,snippet,bytes,read}; read a match with read_docs and its read object. Every word of the query must appear in a match.

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 results, 1-20 (default 8)
queryYeswords to find, e.g. "sign-in allow list" or "ferrite dev egress"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantive behavior on top: large documents are searched section by section, results are ranked and capped at `limit`, and matching requires every query word to appear. It lacks only edge-case behavior such as empty result sets or ranking rationale.

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?

Front-loaded with the verb and scope, then behavior, then the return shape and follow-up tool. The long parenthetical enumeration of doc topics is the only baggy part, though it does usefully communicate coverage boundaries.

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?

With no output schema, the description still specifies the return shape ({doc,title,section,heading,snippet,bytes,read}), the result cap, ranking, and how to continue with read_docs. For a two-parameter read-only search tool, nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the parameters are already documented, yet the description still adds meaning: `limit` is a cap on ranked matches, and the query is an all-words-required match rather than a free-text phrase or substring. That AND-semantics materially changes how an agent should phrase queries.

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?

Names a specific verb and resource ("SEARCH the Ferrite documentation") and enumerates the covered corpora: CLI/local loop, packages, auth, Alloy, Rsx, data, agents, deploy, observe, limits, support guides, and platform documents. It also explicitly bounds the relationship to the sibling read_docs, so the agent can tell search from read 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?

Clearly routes the agent forward: matches are opened with read_docs and its `read` object, implying search-then-read. It does not state the negative case (e.g. what to do when the doc name is already known, or what to do on zero results), so guidance is clear but not exhaustive.

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.