Skip to main content
Glama

Read a BrewPage publication

read_publication
Read-only

Read content, owner source, owner settings or statistics for a publication. Site content returns its manifest or named path. File content returns a download reference. KV without key lists keys. Continue long content with the returned offset. A secret ({"kind":"secret","id":} or its manage link) returns its state, views and open times, never its content.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_publication"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoPublication id, or a secret's 10-character ref
tzNoStats only. IANA time zone, default UTC
keyNoKV key. Excludes hosting.
kindNoPublication kind returned by publish or list; secret with its ref as id
pathNoRelative site file path. Omit for the owner manifest
viewNoDefault content. HTML source, settings and stats are owner reads
rangeNoStats only. Days, default 30
offsetNoNext character offset from a previous read
passwordNoReader password when content is protected
manageUrlNoPrivate link as target and proof.
namespaceNo
ownerTokenNoPrivate owner proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"Publication id, or a secret's 10-character ref"
    • changedInput schema / properties / kind / description
      Previous value: -"Publication kind returned by publish or list"New value: +"Publication kind returned by publish or list; secret with its ref as id"
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "html",
      -  "site",
      -  "file",
      -  "json",
      -  "kv"
      -]New value: +[
      +  "html",
      +  "site",
      +  "file",
      +  "json",
      +  "kv",
      +  "secret"
      +]
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, openWorld, non-destructive), so the bar is lower, and the description still adds meaningful behavior: secrets return only state, views and open times and never their content, long content is resumed via a returned offset, and KV without a key behaves as a listing. It does not describe error or authorization-failure behavior, which for a tool with owner-token and password paths would have been valuable.

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?

Four short sentences, front-loaded with the operation and then the per-kind return contract; almost nothing is wasted. The telegraphic phrasing ('Site content returns its manifest or named path') is efficient but slightly compressed for a 12-parameter tool.

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?

With no output schema and twelve parameters spanning six kinds, the description carries real weight and mostly succeeds: it explains what each kind returns and how pagination works. Gaps are around authentication mode selection (password vs ownerToken vs manageUrl) and failure behavior, but nothing an agent needs to make a first correct call is missing.

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 92%, so a baseline of 3 is the floor; the description goes past it by explaining cross-parameter interactions the schema states only piecemeal — that a secret is identified by ref, that a missing KV key yields a key listing, that a site path determines manifest vs named file, and that offset continues a prior read. It does not clarify how manageUrl and ownerToken differ as proofs of ownership.

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 opens with a specific verb and resource ('Read content, owner source, owner settings or statistics for a publication') and then breaks down behavior per kind (site, file, kv, secret). An agent knows exactly what class of operation this is and what it can retrieve. It does not name sibling readers such as read_page_data, so it is clear but not sibling-differentiated.

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?

Usage guidance exists inside the tool's mode space: 'Stats only' for tz/range, 'KV without key lists keys', 'Continue long content with the returned offset', and the secret ref/manage-link shortcut. However, there is no guidance on when to choose this over read_page_data or list_publications, and no stated exclusions or prerequisites (e.g., when ownerToken or password is required). Usage is implied rather than routed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.