Skip to main content
Glama

Ferrite developer docs on Alloy

search_docs

Read-onlyIdempotent

Search the text of every page in the docs, blog, changelog, knowledge base and academy. Use it to find the page that answers a question, then read that page with get_doc. Returns up to 20 results, best match first, each with the page path, the nearest heading and a snippet.

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
qYesthe words to look for; a page must contain all of them
collectionNosearch only this collection; leave out to search them all

Output Schema

NameRequiredDescriptionDefault
qYes
hitsYes
searchedYesHow many documents were searched.
collectionYesThe collection filter, or empty for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed-world scope, so the safety profile is covered. The description adds genuinely useful behavior beyond that: a 20-result cap, best-match-first ordering, and the shape of each hit (path, nearest heading, snippet). However, since an output schema exists, some of that return detail is partly redundant, keeping this at a solid but not exceptional 3.

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 sentences with zero filler: scope first, workflow second, result contract third. The most decision-relevant information (corpus scope and the get_doc handoff) is front-loaded.

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 search tool with full schema coverage, annotations, and an output schema, this description supplies everything an agent needs: what is searched, how to follow up, and what comes back. Nothing material 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%, and both parameters — including the collection enum and the AND-match semantics — are already documented in the schema. The description adds no parameter-level syntax, defaults, or edge cases beyond what the structured fields provide, so the 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 an enumerated resource scope ('Search the text of every page in the docs, blog, changelog, knowledge base and academy'), which tells an agent exactly what corpus is covered. It also names the sibling tool get_doc and the relationship between them, so the two are distinguishable 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 states the intended workflow explicitly: use this to locate the page that answers a question, then read that page with get_doc. That names both the when-to-use condition and the follow-up alternative, leaving little 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