Skip to main content
Glama

Update Comment

update_comment
Destructive

Replace the text of one of your own comments with plain text and retrieve the previous version. Use it to edit authored comments only.

Instructions

Replace the text of one of your own comments with plain text. Docmost only lets you edit comments you wrote. The previous text is returned.

Input Schema

NameRequiredDescriptionDefault
textYesComment text, plain text.
comment_idYesComment id from list_comments.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description does not need to restate that this is a mutation. It adds useful context beyond annotations by disclosing the ownership restriction and noting that the previous text is returned. It does not contradict any annotation.

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 three short sentences, front-loaded with the core action and followed by the ownership constraint and return behavior. Every sentence contributes useful information without redundancy.

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

Completeness5/5

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

For a simple two-parameter mutation tool with full schema coverage, annotations, and an output schema, the description is complete enough. It covers the action, permission boundary, and return behavior, leaving nothing critical to inference.

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%, so both parameters are already documented by the input schema. The description reinforces that comment text is plain text, but it does not add meaningful parameter semantics beyond what the schema provides.

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 states a specific verb and resource: 'Replace the text of one of your own comments with plain text.' It clearly distinguishes update_comment from sibling tools like add_comment and list_comments by focusing on editing existing comment text. An agent can identify the operation without opening the schema.

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

Usage Guidelines4/5

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

The description gives clear context for use by stating 'Docmost only lets you edit comments you wrote,' which defines the permission boundary. It does not explicitly name alternatives such as add_comment for creating or list_comments for retrieving IDs, so it falls short of full when/when-not/alternative guidance.

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