Skip to main content
Glama

Outbox: append a block to a daily page

outbox_append

Append an HTML block to a daily-style page, creating the page if it does not exist; existing content stays unchanged and each append is versioned.

Instructions

Appends an HTML block to a daily-style page (append-only; each append is versioned). Creates the page if it does not exist. Existing content is not modified. The API requires model on the first append of each UTC day; when omitted, 'outbox-mcp' is sent. With idempotencyKey, the append is deduplicated when outbox_capabilities lists dailyAppend in features.idempotencyEndpoints (the current API does). title and visibility belong to the daily page: they apply on the append that CREATES the day; later appends of the same day ignore them (returned in ignoredAttributes) unless applyAttributes:true. createOnly:true = only create a new daily: if the slug already has one, 409 daily_exists and nothing is written. The result includes the idempotencyKey that was used.

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>",
      "html": "<html>"
    },
    "name": "outbox_append"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYesHTML of the block to append
slugYesLong-lived daily page slug; blocks are grouped by day inside it (e.g. 'journal' or 'work/log'). Reserved: 'daily', 'daily/...' and any segment starting with '_' (400 reserved_slug)
userNoPage owner username (default: the connected account)
labelNoBlock label (optional, max 64)
modelNoId of the model that generated the block (e.g. 'claude-opus-4-8'). Required by the API on the first append of each UTC day; omitted = 'outbox-mcp'
titleNoDaily page title (optional). Applied on the append that CREATES the day (the first of each UTC day); without title, the new day inherits the previous day's. Later appends of the same day ignore it (returned in ignoredAttributes) unless applyAttributes:true: send it only to change it
summaryNoDaily page summary (optional; derived from the title or the HTML when missing on creation)
createOnlyNotrue = the append may only CREATE the daily: if the slug already has a daily (any day), the API returns 409 daily_exists and nothing is written. Use it when the user asked for a NEW daily, so blocks (and visibility/title) never land on an existing one
visibilityNoDaily page visibility. Applied on the append that CREATES the day (the first of each UTC day); without visibility, the new day inherits the previous day's (private when there is no previous day). Later appends of the same day ignore it (returned in ignoredAttributes) unless applyAttributes:true, and 'public' exposes today's blocks. To change it without appending use outbox_set_visibility. Pass it only if the user asked for it
contentTypeNoFree content type (e.g. notes, log)
idempotencyKeyNoIdempotency key (Idempotency-Key header). It prevents a duplicate only if outbox_capabilities lists this operation in features.idempotencyEndpoints. Omitted = generated
applyAttributesNotrue = apply title/visibility even if the day already exists (a continuation append ignores them by default). Only if the user asked to change them
rejectOnSecretsNotrue = if the content appears to include credentials (API keys, tokens, private keys) it is NOT published (422 secrets_detected with type and line). Omitted = it is published and the result warns in warnings.secrets

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses append-only/versioned semantics, that existing content is untouched, the API's per-UTC-day `model` requirement, the dedup precondition tied to outbox_capabilities, the 409 daily_exists all-or-nothing behavior for createOnly, and ignoredAttributes on continuation appends. This is exactly the kind of write-side context the annotations (readOnlyHint=false, destructiveHint=false) cannot convey.

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?

Correctly front-loaded with the core action before the conditional clauses, and nearly every sentence carries operational meaning. It is a single dense block, though, and the title/visibility rules largely restate the schema descriptions, which is a mild redundancy cost.

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 13-parameter mutation tool with no output schema, it covers the risky edge cases (day creation vs continuation, dedup precondition, createOnly failure mode) that an agent most needs. It stops short of describing auth requirements or the broader error surface, so it is strong but not exhaustive.

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 already 100%, so the baseline is 3; the description earns extra by explaining cross-parameter interaction rather than restating fields — model is required on the first append of each UTC day, idempotencyKey only dedupes when the capability list advertises it, and title/visibility only bind on the creating append. It does not add format or value-domain detail beyond the schema, which caps it below 5.

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 ('Appends an HTML block to a daily-style page') and immediately characterizes the write model ('append-only; each append is versioned', 'Existing content is not modified'). It also names related siblings (outbox_capabilities, outbox_set_visibility), so an agent can place it in the catalog without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit conditional routing: use createOnly when the user asked for a NEW daily, use applyAttributes only when the user asked to change title/visibility, and use outbox_set_visibility to change visibility without appending. The 'Pass it only if the user asked for it' constraints on visibility/title act as when-not guidance.

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