Skip to main content
Glama
GhazwaPasha

Google Workspace MCP Server

by GhazwaPasha

docs_find_replace

Search a Google Doc for specific text and replace it with new text using the document ID, search phrase, and replacement phrase. Optionally match case for precise edits.

Instructions

Find and replace text in a Google Doc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
find_textYes
match_caseNo
document_idYes
replace_textYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description needs to explain the tool's behavior but only states the basic action. It does not disclose whether all occurrences are replaced, case sensitivity handling, direct modification of the document, or any side effects, which is a significant gap for a mutation tool.

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 a single, concise sentence with no filler. It is front-loaded with the core action and effectively sized for a reading 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?

For a tool with 4 parameters, no annotations, and a basic description, the operation is under-specified. It lacks important context about how the replacement behaves or any prerequisites, though the existence of an output schema somewhat reduces the need to explain return values.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should compensate by explaining parameters. The description only implies find_text and replace_text via the phrase 'find and replace text' but does not clarify match_case or document_id. It adds minimal value beyond the parameter names themselves.

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 identifies the tool's function: finding and replacing text in a Google Doc. It uses a specific verb and resource, and it distinguishes itself from sibling tools like docs_insert_text or docs_format_text by focusing on the find-and-replace action.

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 guidance on when to use this tool versus alternatives or when not to use it. The description simply states the operation, leaving the agent to infer the appropriate context without any exclusions or alternative recommendations.

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/GhazwaPasha/Google-wrk-spc-mcp'

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