Skip to main content
Glama
geniuskey

mcp-server-xlwings

by geniuskey

find_replace

Search for text in an Excel sheet and optionally replace it. Supports case-sensitive matching.

Instructions

Search for text in a sheet, optionally replacing it.

Args: find: Text to search for. workbook: Workbook name or path. Defaults to active workbook. sheet: Sheet name. Defaults to active sheet. replace: Replacement text. If omitted, search only. match_case: Case-sensitive matching.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
findYes
workbookNo
sheetNo
replaceNo
match_caseNo
Behavior3/5

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

Annotations indicate destructiveHint=false, and the description clarifies that replacement is optional. However, it does not explain whether replacements are global or per-occurrence, or what the return value is, leaving behavior somewhat ambiguous.

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?

The description is extremely concise: a single introductory sentence followed by a bullet-like list of parameters. Every sentence adds value without redundancy.

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?

The description lacks information about return values (e.g., count of matches/replacements) and does not specify search behavior (e.g., regex vs. plain text). Given the tool's complexity and lack of output schema, this is insufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has no descriptions (0% coverage), but the description provides brief explanations for all five parameters, including defaults and behavior (e.g., match_case for case-sensitivity). This adds significant meaning beyond the 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?

The description clearly states the tool searches for text in a sheet and optionally replaces it. This distinguishes it from sibling tools like read_data, write_data, and format_range, which serve different purposes.

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?

While the description indicates that replacement is optional, it provides no explicit guidance on when to use this tool versus alternatives (e.g., read_data for reading only) or any prerequisites or context.

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

Install Server

Other Tools

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/geniuskey/mcp-server-xlwings'

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