Skip to main content
Glama

excel_find_replace

Find and replace text in a specified Excel worksheet, with optional case-sensitive or entire-cell matching, to update workbook content accurately.

Instructions

Find and replace text

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": {
      "filename": "<filename>",
      "worksheet": "<worksheet>",
      "findText": "<findText>",
      "replaceText": "<replaceText>"
    },
    "name": "excel_find_replace"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesOpened workbook name
findTextYesText to find
matchCaseNoCase sensitive
worksheetYesWorksheet name
replaceTextYesReplacement text
matchEntireCellNoMatch entire cell

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a destructive in-place mutation but never states that cell contents are overwritten, whether all matches or only the first are replaced, whether the change is undoable, or what the tool returns; the single hint of irreversibility comes only from the word 'replace'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The four-word description wastes nothing but is dramatically undersized for a six-parameter mutation tool, so brevity here is under-specification rather than efficient structure. There is no front-loaded scoping or behavioral statement to anchor the agent.

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?

With six parameters, no annotations, and no output schema, the description needs to disclose replacement scope, mutation semantics, and result shape, and it discloses none of them. The only completeness in the definition comes from structured fields, not the prose.

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 coverage is 100%, so all six parameters including matchCase and matchEntireCell are already documented in the input schema, which sets the baseline at 3. The description adds no extra meaning such as default values for the optional booleans or case-sensitivity behavior beyond the parameter labels themselves.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb pair and resource (find and replace text), so the agent knows the general operation. However, it omits scope entirely: nothing says whether it operates across the workbook, a single worksheet, or all occurrences, and nothing distinguishes it from sibling-style search tools like excel_find_anomalies or excel_find_duplicates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no conditions, no exclusions, and no mention of alternatives or prerequisites (e.g. that the workbook must already be open). The definition gives the agent nothing beyond the bare operation name.

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

Deploy Server

Other Tools