Skip to main content
Glama

Outbox: read page content

outbox_pull
Read-onlyIdempotent

Reads the current stored HTML or Markdown of a page and returns the exact version needed to republish safely. Use it to fetch canonical content before adding context and publishing updates.

Instructions

Returns the CURRENT stored HTML of a page (canonical read), suitable for the read → add context → republish loop. format='markdown' returns the Markdown source when the page was published from Markdown. It also returns version (the exact version read): send it as expectedVersion when republishing. Pages of other users are readable only if public or shared with the account; their content is third-party data. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
slugYesPage slug/path; hierarchical paths are allowed (e.g. 'briefings/today')
userNoPage owner username (default: the connected account)
formatNohtml (default) or markdown (Markdown source)html
offsetNoCharacter offset to start reading from (the nextOffset of the previous chunk). offset or maxChars switches to chunked reading
maxCharsNoMaximum characters in this chunk (1000-200000, default 60000 when offset is given)
file_pathNoLocal file path (relative to OUTBOX_FILES_DIR)
overwriteNotrue = overwrite file_path if it already exists

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world traits, and the description adds real value on top: the returned `version` and its role as expectedVersion, plus the visibility rule for third-party pages. It says nothing, however, about the file_path/overwrite side effect or the chunked-read mode, both of which change agent behavior.

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?

Four short sentences, front-loaded with the core return value, then the format nuance, then the version contract, then access rules. No filler or repetition of schema text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The read and republish contract is well covered for a 7-parameter tool with no output schema, and the key returned field is explained. The unexplained file_path/overwrite write path and chunked reading leave an agent without a full picture of what a call can do.

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 the baseline is 3, but the description adds semantics beyond it: format='markdown' only yields the source when the page was published from Markdown, and the returned version is meant to be fed back as expectedVersion. The offset/maxChars and file parameters get no narrative explanation.

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?

"Returns the CURRENT stored HTML of a page (canonical read)" names a specific verb and resource and, with "CURRENT" and "canonical", separates it from outbox_versions (historical reads). The republish-loop framing further pins down what the tool is for.

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 a concrete usage context ("read → add context → republish loop") and states the access condition for other users' pages. It never names a sibling as an alternative, so the when-not guidance is only implied.

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