Skip to main content
Glama

search

Read-onlyIdempotent

Find text or regex matches across every sheet in spreadsheets within a folder, returning the exact file, sheet, cell, and value.

Instructions

Search for text across every sheet of every spreadsheet in a folder. Returns file, sheet, cell and value.

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": {
      "text": "<text>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoFolder or single file to search..
textYesText (or regex) to find.
limitNoMax matches.
regexNoTreat text as a regular expression.
patternNoOnly files matching this glob, e.g. '*.xlsx'.
in_formulasNoAlso match inside formulas.
case_sensitiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds the useful return shape ('file, sheet, cell and value') in the absence of an output schema, but says nothing about truncation at the limit, whether subfolders are traversed, or performance/error behavior on large folders.

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 sentences, zero filler, with the scope of the search front-loaded ahead of the return-value note. Every sentence earns its place.

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

Completeness3/5

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

For a 7-parameter tool with no output schema, the description covers purpose and result shape but omits the semantics an agent needs for correct invocation – whether path is recursive, what happens when matches exceed limit, and how pattern filtering interacts with the search text. Annotations carry the safety profile, but the operational gaps remain.

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 86%, so the schema already documents path, text, limit, regex, pattern, in_formulas, and case_sensitive. The description adds no parameter meaning beyond that baseline, and notably does not clarify the interaction between 'text (or regex)' and the separate regex flag.

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 with scope: search text across every sheet of every spreadsheet in a folder, plus the return shape. An agent can tell this is a folder-wide content grep rather than a single-range read. It does not explicitly differentiate from siblings like query, formulas, or read_range.

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?

Usage is only implied by the phrase 'search for text across every sheet' – the agent can infer this is the find-content tool. There is no explicit when-to-use, when-not, or named alternative (e.g. read_range for known cells, query for structured extraction), leaving selection between search/query/read_range to inference.

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