Skip to main content
Glama

Outbox: comment or reply

outbox_create_comment

Posts a plain-text comment on a page, optionally anchored to exact visible text or as a one-level reply, without editing the page HTML.

Instructions

Posts a plain-text comment on a page without editing its HTML, optionally anchored to exact visible text or as a reply (parentId, one level). Allowed on own pages, on public/unlisted pages of other users, and on private pages shared with a 'comment' grant.

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": {
      "slug": "<slug>",
      "body": "<body>"
    },
    "name": "outbox_create_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesPlain-text comment (not HTML), max 4000
slugYesPage slug/path; hierarchical paths are allowed (e.g. 'briefings/today')
userNoPage owner (default: the connected account)
exactNoExact visible text the comment anchors to (optional, max 2000)
prefixNoContext right before `exact`, to disambiguate repeated text
suffixNoContext right after `exact`, to disambiguate repeated text
parentIdNoId of the comment being replied to. Omitted = top-level comment
idempotencyKeyNoIdempotency key (Idempotency-Key header). It prevents a duplicate only if outbox_capabilities lists this operation in features.idempotencyEndpoints. Omitted = generated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare a safe, non-destructive, open-world write, so the description is not obligated to restate that; instead it adds the plain-text-only constraint, the one-level nesting limit on replies, and the grant-based permission model. It says nothing about whether the comment triggers notifications or how it is returned, which is the main remaining gap.

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?

A single dense sentence, front-loaded with the action, then capabilities, then permissions. No filler, no restatement of the name or title.

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 an 8-parameter mutating tool with no output schema, the description covers the two things an agent cannot infer: the plain-text/no-HTML nature and the permission matrix. Return shape and notification side effects remain undocumented, but they are secondary to calling it correctly.

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 earns above that by explaining the intent behind the anchoring trio (exact plus disambiguating context) and clarifying that parentId is a single-level reply. It adds no guidance on idempotencyKey, whose conditional behavior lives in the schema.

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 ('Posts a plain-text comment on a page') and adds two distinguishing modes: text anchoring and one-level replies. It does not name a sibling tool, but the 'without editing its HTML' clause implicitly separates it from editing/suggestion workflows.

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 concrete eligibility rules — own pages, public/unlisted pages of other users, and private pages shared with a 'comment' grant — which effectively tells the agent when the call will succeed versus fail. It stops short of explicitly contrasting with the suggestion tools, which is the closest alternative for non-owner annotation.

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