Skip to main content
Glama

Plan Studio

post_comment

Idempotent

Comment on a range of characters in the published plan. Use it after get_room, counting characters in its body. Returns the comment with the quoted text the range covered, or 400 when the range is outside the plan.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>",
      "author": "<author>",
      "body": "<body>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "post_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe room id, from get_rooms
endYesthe character after the last one in the range
bodyYesthe comment, up to 4,000 characters
startYesthe first character of the range, counting from 0
authorYesthe display name to comment under

Output Schema

NameRequiredDescriptionDefault
idYesThe comment id.
bodyYesThe text.
at_msYesWhen it was posted.
anchorYesWhere in the plan a comment points. A range over the published body in CHARACTERS, plus the text it covered when the comment was made. The server validates the range against the body it holds, and reports when a later revision has moved the text from under the comment.
authorYesWho wrote it.
statusYesA comment's lifecycle.
resolved_byNoWho resolved it, when resolved.
resolved_at_msNoWhen it was resolved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=true, so safety and repeat-call behavior are already covered. The description adds two non-obvious behaviors: the return includes the quoted text covered by the range, and an out-of-range request yields a 400. It doesn't mention permissions or limits, so it isn't fully complete.

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?

Three tight sentences: purpose first, then the prerequisite, then return/error behavior. Every sentence carries information the agent needs, with no filler.

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?

For a mutation tool with full annotation and schema coverage plus an output schema, the description covers the essentials: what it does, the ordering dependency, and the failure case. Minor gaps remain around permissions and what 'published plan' means in relation to drafts.

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 coverage is 100%, so the schema already defines all five parameters, including the 0-based start and exclusive end. The description's 'counting characters in its body' is the only added meaning, tying the offsets to get_room's body, which is helpful but modest. Baseline 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?

The description states a specific verb and resource: commenting on a character range in the published plan. The range-of-characters scoping distinguishes it from post_chat, but it doesn't explicitly name or contrast with siblings such as resolve_comment.

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?

It gives a clear precondition and ordering: use it after get_room and count characters in that body. It does not describe when not to use it or name an alternative tool, so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources