Skip to main content
Glama
nabheet

google-services-mcp

by nabheet

Delete range

google_docs_delete_range

Deletes a specified content range from a Google Docs document using document ID and start/end indices, useful for removing sections or cleaning up text.

Instructions

Delete a range of content from a document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoAccount nickname to use.
endIndexYes0-based end index (exclusive).
documentIdYesDocument ID.
startIndexYes0-based start index (inclusive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.60

TDQS

C2.9/5.0
Behavior2/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 of behavioral disclosure. It does not state that the deletion is destructive/irreversible, what permissions are required, or what happens if startIndex/endIndex are out of bounds or invalid, leaving significant gaps 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.

Conciseness4/5

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

A single front-loaded sentence with no waste. It is efficient, though at the cost of omitting any behavioral or usage context.

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 destructive mutation tool with no annotations and no output schema, the description is too thin: it omits irreversibility, permission requirements, and any error/edge-case behavior an agent needs before invoking a delete.

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 100%, and the schema already documents documentId, startIndex (0-based, inclusive), endIndex (0-based, exclusive), and account. The description adds nothing beyond the schema, so the baseline of 3 applies.

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 ('Delete') and resource scope ('a range of content from a document'), so the operation is unambiguous. It does not, however, distinguish itself from its many docs siblings (replace_text, insert_text, batch_update) or say what kind of content or document structure is affected.

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 versus alternatives such as google_docs_replace_text or google_docs_batch_update, nor any stated preconditions. An agent must infer usage entirely from the 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