Skip to main content
Glama
Lucy
by ckaico

search_text

Search readable text files in approved sources with ranked full-text matching and stemming, returning source, path, and a short redacted excerpt for each hit.

Instructions

Find files by what they say: ranked full-text search (with stemming) over readable text files in approved sources. Returns source, path and a short redacted excerpt per hit.

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_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that results are ranked, stemmed, drawn only from approved sources, and include a redacted excerpt, which is real behavioral signal. It omits pagination behavior, what 'limit' bounds, what happens with zero hits, and any permission/scoping constraints, leaving meaningful gaps for a search tool with no annotation coverage.

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, with the core capability and scope front-loaded and no filler wording. Every clause (stemming, approved sources, ranked, redacted excerpt) carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema and no annotations mean the description is the only source of truth, yet it does not explain two of three parameters or the ranking/limit behavior. It covers the result shape adequately but leaves the calling contract under-specified.

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 0%, so all three parameters rely on bare titles plus defaults. The description adds a little meaning to 'query' by framing it as a natural-language phrase about file contents, but says nothing about 'limit' (default 20) or 'project' (default empty), leaving two parameters entirely unexplained.

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: ranked full-text search over readable text files in approved sources, noting stemming. This distinguishes it from name-based search, but it never names the sibling tools (search_assets, read_excerpt) it overlaps with, so the differentiation is implicit rather than 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?

The phrase 'by what they say' implies this is for content-based lookup rather than asset/metadata lookup, and 'approved sources' bounds the scope. However, there is no explicit when-to-use, no exclusion of alternatives, and no mention of when read_excerpt or search_assets would be a better choice.

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