Skip to main content
Glama

add_comment

Add a comment to a paragraph in a Word document by specifying its paragraph ID and comment text. Optionally set the author name shown in the comment sidebar.

Instructions

Add a comment anchored to a paragraph.

Creates the comment in comments.xml and adds range markers (commentRangeStart/End) around the paragraph content.

Args: para_id: paraId of the paragraph to comment on. text: Comment text. author: Author name (shown in Word's comment sidebar).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
para_idYes
textYes
authorNoClaude

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses internal mechanism (creates in comments.xml, adds range markers) beyond basic function. With no annotations, this provides useful behavioral context, though permissions or side effects are not mentioned.

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?

Front-loaded with purpose, then behavior, then parameters. Efficient use of sentences, but the 'Args' section could be integrated for slightly better flow.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists (though not shown), the description adequately covers input semantics and behavior. Leaves out return value details, but that is handled by the output schema.

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

Parameters5/5

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

All three parameters have meaningful descriptions in the Args section: para_id (paragraph to comment on), text (comment text), author (shown in sidebar). The schema has 0% coverage, so the description fully compensates.

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?

Clear verb 'add' and resource 'comment anchored to a paragraph' provide specific purpose. Distinguishes from sibling tools like get_comments and reply_to_comment by focusing on adding a new comment at a specific paragraph.

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

Usage Guidelines3/5

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

Description implies use when anchoring a comment to a paragraph but lacks explicit guidance on when to use this tool vs alternatives like reply_to_comment. No exclusions or prerequisites mentioned.

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

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