Skip to main content
Glama

add_collection_comment

Posts a comment to a collection's feedback thread as a student so the teachers or coaches the collection is shared with can see it and may be notified.

Instructions

Post a comment in a collection's 'Collection feedback' thread, as you (role: student). Teachers/coaches the collection is shared with will see it and may be notified. Not live-tested yet. Confirm the text with the user first.

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": {
      "collection_id": "<collection_id>",
      "text": "<text>"
    },
    "name": "add_collection_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesComment text (plain text or HTML)
collection_idYesNumeric Portflow id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare mutation (readOnlyHint=false), non-idempotency, open-world reach, and non-destructiveness. The description adds real value beyond that: visibility to shared teachers/coaches, possible notifications, and a candid 'Not live-tested yet' reliability caveat. It stops short of describing return behavior or error handling, so with annotations carrying part of the load a 3 is fair.

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 short sentences, front-loaded with what the tool does, followed by audience and the safety precondition. No padding; even the untested-status caveat earns its place because it affects agent confidence.

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 only two fully documented parameters, annotations covering the safety profile, and no output schema, the description covers what an agent needs to call it responsibly: identity, audience, side effects, and a confirmation requirement. It omits what a successful call returns or how duplicates are treated, a minor gap given no output schema exists.

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%, and the schema itself documents both text (plain text or HTML) and collection_id (numeric Portflow id). The description only reinforces the text-confirmation step; it adds no format or identity detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Post a comment in a collection's Collection feedback thread') and pins the acting identity ('as you (role: student)'). This makes it clearly distinguishable from the sibling add_evidence_comment, which targets evidence rather than collections.

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?

Gives clear operating context: the audience (teachers/coaches the collection is shared with), the notification consequence, and a precondition ('Confirm the text with the user first'). It does not explicitly contrast with add_evidence_comment or state when not to post, so it falls short of full alternative routing.

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