Skip to main content
Glama

Outbox: discard a suggestion or comment (owner)

outbox_discard_suggestion

Marks a suggestion or comment as discarded without modifying page HTML, so owners can clear stale suggestions when the anchor is not found.

Instructions

Marks a suggestion or comment as discarded; the page HTML is not modified. Owner only. Useful for stale suggestions (409 anchor_not_found). Returns { ok, comment } with third-party comment text in untrustedText.

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>",
      "commentId": "<commentId>"
    },
    "name": "outbox_discard_suggestion"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesPage slug/path; hierarchical paths are allowed (e.g. 'briefings/today')
userNoPage owner (default: the connected account). Owner only
commentIdYesComment or suggestion id (from outbox_read_comments)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations it discloses that the page HTML is not modified, that the caller must be the owner, that a 409 anchor_not_found can occur, and the return shape including an untrustedText flag for third-party text. That is real added value. The gap is idempotency: despite idempotentHint=false, nothing says what happens if the same comment is discarded twice.

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 compact sentences, front-loaded with the action and its scope, then authorization, then the error condition and return payload. Every sentence carries information an agent needs, with no repetition of the 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?

With no output schema, the description usefully describes the return object and the untrustedText safety flag, plus a relevant error code and the owner requirement. Only the non-idempotent repeat-call behavior is left unstated, which keeps it just short of fully complete.

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 slug, user and commentId are already documented in the schema, and the description only references commentId indirectly through the returned 'comment'. Baseline 3 applies because the schema carries the parameter burden.

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 uses a specific verb and resource ('marks a suggestion or comment as discarded') and immediately states the scope limit that the page HTML is untouched. It is easily separable from outbox_accept_suggestion by the 'discard' framing, though no sibling is named explicitly.

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 supplies concrete usage context: owner-only access and the 'stale suggestions (409 anchor_not_found)' case where discarding is the right remedy. It stops short of naming a positive alternative (e.g. accept_suggestion) or stating when not to discard.

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