Skip to main content
Glama

Comment on a shared routine

add_comment

Leaves a comment on a routine the person shares with other people, or on one of its steps or runs: everybody it is shared with reads it on their phone, signed as the person and marked as written by you. Use it only when the person asked you to say something to the people they share the routine with. It waits for the person's OK on the phone, unless they set this assistant to save without asking. You cannot read the comments others write. The answer is the command's id and a status.

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": {
      "routine": "<routine>",
      "text": "<text>"
    },
    "name": "add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
runNoA run of the routine, to comment on that run — or, with step, on that step of it.
stepNoA step's number, title or id, to comment on that step. Leave it out to comment on the routine.
textYesWhat to say.
routineYesThe shared routine's name or id.

Output Schema

NameRequiredDescriptionDefault
runNoThe run it started, planned or found, where there is one: what set_value, next_step and the rest take.
urlNoFor publish_routine, once the person has published it: routinerun.com/c/<code>, the address to share.
codeNoFor publish_routine, once published: the eight-character code, which publish_routine takes again to replace it.
statusYesWhat the phone did with it, in one word; the sentence beside it says what that means.
commandYesThe command's id, which command_status takes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations it discloses audience and visibility ('everybody it is shared with reads it on their phone'), signing and authorship, and a confirmation gate ('waits for the person's OK on the phone, unless they set this assistant to save without asking'). It also states a real limitation ('You cannot read the comments others write'), which the annotations do not convey.

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 the action and its audience, followed by the usage gate and the confirmation caveat. Sentences are dense but every one carries information; the closing note about the answer partially duplicates the output schema.

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?

With 100% schema coverage and an output schema, the remaining burden is behavioral, and the description covers audience, consent gating, and read limitations well. It omits that the call is not idempotent, so an agent gets no warning that a retry can produce a duplicate comment.

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 routine/step/run/text meanings are already documented in the schema. The description only restates the targeting model at a high level and adds nothing about accepted formats for 'step' or how run and step combine beyond what the schema says.

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 names a specific verb and resource ('Leaves a comment on a routine') and narrows the target to routines shared with other people, including steps and runs. It does not name or contrast with the sibling add_note, so the boundary between a public comment and a private note must be inferred.

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 an explicit gate: 'Use it only when the person asked you to say something to the people they share the routine with', which is a clear when-to-use and implicit when-not. It stops short of naming an alternative tool for the private-note case.

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.