Skip to main content
Glama

Outbox: suggest a text change

outbox_create_suggestion

Proposes a text replacement on a page by matching exact visible text, without editing it. The page owner reviews and accepts the suggestion before it becomes an attributed version.

Instructions

Proposes a text change on a page without editing it: an anchor (exact visible text) plus a replacement. The change is applied only when the page owner accepts it (as a new attributed version). Same permissions as outbox_create_comment.

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>",
      "exact": "<exact>",
      "replacement": "<replacement>"
    },
    "name": "outbox_create_suggestion"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoNote explaining the change
slugYesPage slug/path; hierarchical paths are allowed (e.g. 'briefings/today')
userNoPage owner (default: the connected account)
exactYesExact visible text to replace; it must appear literally in the page (max 2000)
prefixNoContext right before `exact`, to disambiguate repeated text
suffixNoContext right after `exact`, to disambiguate repeated text
replacementYesNew text; inserted HTML-escaped (no markup), max 8000
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

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnly false, destructive false, openWorld true, idempotent false), the description adds valuable behavior: the change is applied only when the page owner accepts it, and acceptance creates a new attributed version. It also conveys the permission model by referencing outbox_create_comment. It does not elaborate on idempotency behavior, but the schema covers that.

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 concise and front-loaded, with no filler. The only minor inefficiency is the closing permission comparison, which could be tighter, but overall it is well-structured.

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?

Given the tool's complexity (8 parameters, no output schema, annotations present), the description covers the essential purpose, acceptance flow, and permission model. It does not explain the return value or edge cases like anchor-not-found, but with a fully documented schema those are less critical.

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 schema already documents all parameters in detail. The description restates the core concept of 'anchor (exact visible text) plus a replacement' but adds no semantic details beyond what the schema provides. Baseline 3 is appropriate when the schema does the heavy lifting.

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: 'Proposes a text change on a page without editing it.' It also clarifies the anchor + replacement mechanism. It distinguishes itself from direct editing and mentions permission parity with outbox_create_comment, though it does not explicitly contrast with sibling alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use it (to propose a change without editing), but offers no explicit when-to-use/when-not-to-use guidance or named alternatives. It mentions the acceptance flow but does not say when to prefer a comment or direct edit instead.

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