Skip to main content
Glama

delete_paragraph

Removes a paragraph from a Word document by specifying its paraId. Enables precise deletion of content without affecting other paragraphs.

Instructions

Delete the paragraph with the given paraId.

Args: para_id: paraId of the paragraph to remove.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
para_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, and the description lacks behavioral details such as whether deletion is undoable, if it affects tracked changes, or if the document requires edit permissions. The output schema exists but is not described.

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

Conciseness3/5

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

The description is short but includes a redundant 'Args' section that repeats the parameter name and description. It could be streamlined to a single sentence.

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 simple mutation tool lacking annotations and with minimal description, the tool definition is incomplete. It misses usage guidelines and behavioral context, though the output schema existence partially mitigates.

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?

The description adds minimal context by stating that para_id is 'the paraId of the paragraph to remove', which is slightly more than the schema (only name and type). However, with 0% schema description coverage, it does not fully compensate.

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 action ('Delete the paragraph') and identifies the target by paraId, distinguishing it from siblings like delete_text (deletes text range) and delete_table_row (deletes table row).

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?

No guidance on when to use this tool versus alternatives such as delete_text or delete_content_control. It does not mention prerequisites (e.g., need to obtain paraId via get_all_paragraphs) or that deletion is irreversible.

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/Arvindh95Censof/grp-docx-mcp'

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