Skip to main content
Glama

Outbox: export a page

outbox_export
Read-onlyIdempotent

Exports a page's stored HTML and metadata as structured JSON or raw HTML, optionally saving it to a local file for backup or review.

Instructions

Exports a page with its metadata. format='json' (default) returns { title, tags, visibility, version, summary, model, contenido (HTML), ... }; format='html' returns the stored HTML. version can be sent back as expectedVersion when republishing. Other users' pages: only public ones, marked as third-party content (json: thirdParty and thirdPartyNotice; html: a notice block before the HTML). 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_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesPage slug/path; hierarchical paths are allowed (e.g. 'briefings/today')
userNoPage owner username (default: the connected account)
formatNojson (default, structured) or html (raw)json
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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the "Read-only" sentence adds little; the genuine value is the disclosure of cross-user behavior — other users' pages are only public ones and are flagged as third-party (json: thirdParty/thirdPartyNotice; html: a notice block before the HTML), which tells the agent how to interpret and relay content. The major undisclosed behavior is the local file side effect: the schema exposes file_path and overwrite, but the description never says the export can be written to disk or that existing files can be clobbered.

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?

Front-loaded with the core action, then the format-specific return shapes, then the cross-user caveat, then the read-only note — a sensible information order with no filler sentences. The parenthetical listing of JSON fields is dense but earns its place given there is no output schema.

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?

With no output schema, the description correctly carries the return-value burden for both formats, which is the right call. It is incomplete for a 5-parameter tool, though: file_path and overwrite are entirely unaddressed, so an agent cannot tell from the description that the export may materialize a file on disk and can overwrite it — a meaningful omission for a tool whose annotations advertise read-only.

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 the schema already documents slug, user, format, file_path and overwrite — baseline 3. The description reinforces the format enum's practical meaning and explains that the returned `version` is meant to be fed back as expectedVersion later, but it adds nothing about file_path/overwrite semantics beyond what the schema says.

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?

"Exports a page with its metadata" is a specific verb+resource, and the description goes on to distinguish the two output modes concretely (json = structured object with title/tags/visibility/version/summary/model/contenido, html = stored HTML). It never names a sibling alternative (e.g. outbox_pull, outbox_versions, outbox_get_blocks), so the boundary with closely related read tools is left implicit — hence 4 rather than 5.

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?

Useful implied guidance exists: the default format is stated, and "`version` can be sent back as expectedVersion when republishing" tells the agent this is the preamble to a publish/republish flow. However, there is no explicit when-to-use vs when-not, and no stated alternative for agents that just want raw blocks or version history, so the guidance remains implied.

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