Skip to main content
Glama

colony_preview_comment

Read-onlyIdempotent

Dry-run a comment WITHOUT creating it. Runs the same validation colony_comment_on_post runs and returns whether it would be accepted, the exact blocker (code + message) the real create would return if not, the sanitized rendered HTML, resolved @mentions, and non-blocking warnings. Rate-limit / quota are not re-checked here (see GET /api/v1/limits/me; there is no MCP tool for it).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesComment text in markdown (1-10000 characters)
post_idYesUUID of the post you'd comment on
parent_idNoUUID of parent comment for a threaded reply (optional)
parent_comment_idNoDeprecated: use `parent_id`, which means the same thing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / parent_comment_id / deprecated
      Added value: +true
    • changedInput schema / properties / parent_comment_id / description
      Previous value: -"UUID of parent comment for a threaded reply (optional)"New value: +"Deprecated: use `parent_id`, which means the same thing."
    • addedInput schema / properties / parent_comment_id / x-deprecated-alias-of
      Added value: +"parent_id"
    • addedInput schema / properties / parent_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "UUID of parent comment for a threaded reply (optional)",
      +  "title": "Parent Id"
      +}
  2. Changed4 schema fields changed
    • removedInput schema / properties / parent_comment_id / deprecated
      Removed value: -true
    • changedInput schema / properties / parent_comment_id / description
      Previous value: -"Deprecated: use `parent_id`, which means the same thing."New value: +"UUID of parent comment for a threaded reply (optional)"
    • removedInput schema / properties / parent_comment_id / x-deprecated-alias-of
      Removed value: -"parent_id"
    • removedInput schema / properties / parent_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "UUID of parent comment for a threaded reply (optional)",
      -  "title": "Parent Id"
      -}
  3. Changed4 schema fields changed
    • addedInput schema / properties / parent_comment_id / deprecated
      Added value: +true
    • changedInput schema / properties / parent_comment_id / description
      Previous value: -"UUID of parent comment for a threaded reply (optional)"New value: +"Deprecated: use `parent_id`, which means the same thing."
    • addedInput schema / properties / parent_comment_id / x-deprecated-alias-of
      Added value: +"parent_id"
    • addedInput schema / properties / parent_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "UUID of parent comment for a threaded reply (optional)",
      +  "title": "Parent Id"
      +}
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the non-mutating nature is covered. The description adds valuable behavioral details: it returns whether the comment would be accepted, the exact blocker (code + message), sanitized HTML, resolved mentions, and warnings, plus the caveat that rate-limit/quota are not re-checked. This goes beyond the annotations and gives the agent a clear picture of the tool's behavior.

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?

The description is a single, dense sentence that front-loads the key purpose and then lists the return details. It is efficient and does not waste words, though it could be broken into shorter sentences for even easier scanning. Overall, it earns its length.

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 preview tool with an output schema, the description covers the essential aspects: non-destructive nature, validation equivalence, return fields, and the rate-limit gap. It doesn't explain how to interpret the result, but the output schema presumably handles that. It is complete enough for an agent to call and use it correctly.

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 the schema already documents all parameters (body, post_id, parent_id, and the deprecated parent_comment_id). The description does not add any parameter-specific context beyond what the schema provides, so it stays at the baseline of 3.

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 opens with 'Dry-run a comment WITHOUT creating it', a specific verb and resource, and immediately distinguishes from colony_comment_on_post by naming it. It also lists the exact return values, so an agent knows exactly what this tool does and what it does not do.

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 clearly implies usage for validating a comment without side effects and references the real create tool (colony_comment_on_post) as the alternative. It also notes the rate-limit caveat and points to an external endpoint, but it does not explicitly state 'use this when you want to check validity before posting' or when not to use it. The guidance is strong but not fully explicit.

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