Skip to main content
Glama

Outbox: blocks of a daily page

outbox_get_blocks
Read-onlyIdempotent

Retrieve blocks from an append-only daily page in oldest-to-newest order, optionally filtered by date or block ID. Use it to read page content without editing.

Instructions

Returns the blocks of a daily-style (append-only) page, oldest to newest, optionally for one date. If the HTML of every block does not fit in the response it is omitted (htmlOmitted) and one block can be fetched with blockId. Another user's daily page comes with thirdParty and thirdPartyNotice (third-party content). 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_get_blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOnly blocks of this date (YYYY-MM-DD)
slugYesDaily page slug
userNoPage owner username (default: the connected account)
blockIdNoId of one block (blk_…): returns only that block, with its full HTML
includeHtmlNofalse = metadata only (id, ts, label, size, author), without HTML. Omitted = with HTML when it fits in the response

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the 'Read-only' sentence adds nothing. The description does add real value beyond annotations: chronological ordering, the htmlOmitted truncation flag with a documented recovery path, and the thirdParty/thirdPartyNotice markers for other users' pages. However, with five parameters and no output schema, it leaves the response shape (what a 'block' contains, how many are returned, whether results are capped) largely unspecified.

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?

Three tight sentences, front-loaded with purpose and ordering before the conditional HTML-omission caveat and the third-party note. No filler, though the trailing 'Read-only.' is redundant with the annotations and could be dropped.

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 five-parameter read tool with no output schema, this covers ordering, optional date scoping, truncation behavior with a recovery path, and cross-user third-party signaling. Gaps remain around result volume and what metadata a block carries besides the fields named in includeHtml.

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 baseline is 3, and the description earns above that by explaining why blockId exists (recovering full HTML when htmlOmitted) and by framing date as an optional single-day filter. It does not clarify includeHtml's three-state default (true/false/omitted), which the schema documents but only tersely.

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?

States a specific verb and resource ('Returns the blocks of a daily-style (append-only) page') plus ordering ('oldest to newest') and an optional date scope. It implicitly distinguishes itself from write-oriented siblings like outbox_append by naming the page type as append-only, but it never explicitly contrasts with outbox_list, outbox_search, or outbox_recent.

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?

Gives clear conditions: use it to read a daily page's blocks, narrow with a date, and use blockId to recover a single block's HTML when htmlOmitted is set. That htmlOmitted-to-blockId recovery path is genuinely actionable. It stops short of naming any alternative tool or exclusion condition.

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