Skip to main content
Glama

Add comment

add_comment

Attach a text-anchored comment to a wiki page that stays pinned as the page changes, with idempotency for safe retries.

Instructions

Attach a root (non-reply) comment to a page, anchored to a specific passage by a {prefix, exact, suffix} text triplet so it stays pinned to the right spot as the page changes (editor+). Pass idempotency_key to make retries safe (a repeat returns the original comment instead of posting a duplicate). Use for feedback ON page content; to report problems with tela itself use submit_feedback.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYescomment text (1-10000 chars)
anchorYestext-quote anchor locating the comment in the body
page_idYespage to comment on
idempotency_keyNooptional client-generated key; a retry with the same key returns the original result instead of posting a duplicate comment (safe retries after a dropped connection)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentYes
Behavior5/5

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

The description discloses that comments are root (non-reply) and anchored by a text triplet to stay pinned. It explains idempotency behavior: retries return original comment. Annotations are consistent (readOnlyHint=false, destructiveHint=false). No contradictions.

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?

Two efficient sentences: first covers the action, anchoring, and idempotency; second provides usage guidance. Every sentence adds unique value with no 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?

Given the tool's complexity (nested anchor object, optional idempotency key, output schema exists), the description covers anchoring mechanics, idempotency, and usage context. Output is covered by output schema, so no gap.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the anchor triplet purpose and idempotency key behavior, going beyond schema descriptions. It also notes the comment is a root comment.

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 tool attaches a root (non-reply) comment to a page with a specific anchoring mechanism. It explicitly distinguishes itself from the sibling tool 'submit_feedback', leaving no ambiguity about its purpose.

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

Usage Guidelines5/5

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

The description provides explicit usage guidelines: use for feedback on page content, and redirects users to 'submit_feedback' for reporting problems with tela itself. It also explains when to use the idempotency_key for retries.

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/zcag/tela'

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