Skip to main content
Glama

rtfm_search

Search an indexed project knowledge base and get ranked source paths with line ranges, so you can pinpoint the exact files to read.

Instructions

Search the indexed knowledge base. Returns ranked source paths with line ranges, no content. Use rtfm_expand to read content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNomax sources (default 5)
queryYessearch query
corpusNofilter by corpus name
projectNoanother project's index to search instead of this one — its name (``"hub"``), or its path when two projects share a name. Omit for the project you are working in.
search_typeNo"fts" | "semantic" | "hybrid"
freshness_weightNoboost recently indexed files (0.0–0.5)
centrality_weightNoboost files with many incoming edges (0.0–0.5)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.45.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden. It reveals a key behavioral trait: results contain no content, only source paths and line ranges. It also indicates ranking behavior. This goes beyond the tool name and helps set expectations, though it omits details like defaults or side-effect disclaimers.

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 dense sentences with zero filler. The action is front-loaded, the return format is stated, and the companion tool is cited. Every word earns its place.

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 search tool with a fully specified input schema, the description covers the essential output behavior and points to the natural next step. It doesn't need to explain return values beyond what it states, and remaining gaps like default result count are minor and handled by the schema.

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 the baseline applies. The description adds no parameter-level meaning beyond the schema's own descriptions; all parameters are already documented adequately in the input schema.

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?

States a specific verb and resource ('Search the indexed knowledge base') and explicitly specifies the output shape ('ranked source paths with line ranges, no content'). It distinguishes itself from rtfm_expand by noting that content reading is handled there, making the tool's role unmistakable.

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?

The description gives a clear directive: use rtfm_search to get ranked locations and rtfm_expand to read content. This is a concrete when-to-use/alternative pairing. It does not enumerate other sibling tools, but the search-versus-read distinction is sufficient for most routing decisions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/roomi-fields/rtfm'

If you have feedback or need assistance with the MCP directory API, please join our Discord server