Skip to main content
Glama

Read a page

read_page
Read-onlyIdempotent

Reads one page of a kept site, or of a preview given its draft_id. It returns the page's address, its title and its full markdown; on a kept site also the date it last changed and the settings at the top of the page, as key: value lines. When no page has that address, it returns the five closest addresses instead (on a preview, every address the preview has). The markdown it returns is what a propose_edit update replaces. list_pages lists the addresses, and find_references finds which pages mention something without reading each one.

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": {
      "path": "<path>"
    },
    "name": "read_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe page's address within the site, as list_pages shows it, like /pricing or /guides/setup. The front page's address is /, and /index means the same page. Capitals, a missing first slash and a trailing slash are tidied, so Pricing/ reads /pricing.
siteNoWhich site: its name (like Acme Docs), its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted. Leave it out when this connection covers one site; when it covers several and site is left out, nothing is done and the answer names them. A preview is not one of these sites; draft_id names a preview.
draft_idNoWhich preview: the draft_id create_preview returned, a 43-character key of letters, digits, - and _ (stray quotes or punctuation around it are ignored). It is not the code in the preview's link. Leave it out for a kept site, which site names.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / draft_id / description
      Previous value: -"Which preview this is about: the draft_id create_preview returned, not the code in the preview's link. Leave it out for a kept site, which site names."New value: +"Which preview: the draft_id create_preview returned, a 43-character key of letters, digits, - and _ (stray quotes or punctuation around it are ignored). It is not the code in the preview's link. Leave it out for a kept site, which site names."
    • changedInput schema / properties / path / description
      Previous value: -"The page's address within the site, as list_pages shows it, like /pricing or /guides/setup. The front page's address is /."New value: +"The page's address within the site, as list_pages shows it, like /pricing or /guides/setup. The front page's address is /, and /index means the same page. Capitals, a missing first slash and a trailing slash are tidied, so Pricing/ reads /pricing."
    • changedInput schema / properties / site / description
      Previous value: -"Which site: its name, its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted here. Leave it out when this connection covers only one site. A preview is not one of these sites; draft_id names a preview."New value: +"Which site: its name (like Acme Docs), its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted. Leave it out when this connection covers one site; when it covers several and site is left out, nothing is done and the answer names them. A preview is not one of these sites; draft_id names a preview."
  2. Changed3 schema fields changed
    • changedInput schema / properties / draft_id / description
      Previous value: -"Which preview this is about: the draft_id create_preview gave, not the code in the preview's link. Leave it out for a site you keep."New value: +"Which preview this is about: the draft_id create_preview returned, not the code in the preview's link. Leave it out for a kept site, which site names."
    • changedInput schema / properties / path / description
      Previous value: -"The page's address within the site, like /pricing."New value: +"The page's address within the site, as list_pages shows it, like /pricing or /guides/setup. The front page's address is /."
    • changedInput schema / properties / site / description
      Previous value: -"Which site: its name or its address. Leave it out if this connection only covers one."New value: +"Which site: its name, its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted here. Leave it out when this connection covers only one site. A preview is not one of these sites; draft_id names a preview."
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, which already mark it read-only, idempotent and non-destructive, the description explains exactly what is returned: address, title, full markdown, and on kept sites the last-changed date and page settings. It also discloses the miss behavior (five closest addresses, or every preview address) and that the markdown is what propose_edit updates replace.

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?

The description is front-loaded with the core operation and return values, then covers fallback behavior and alternatives. All sentences earn their place, though some clauses are dense and could be split for readability.

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

Completeness5/5

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

There is no output schema, but the description fully specifies the return fields, including the difference between kept-site and preview returns. It also covers the missing-page fallback and names related tools, making it complete enough for an agent to call the tool correctly.

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%, and the schema already explains path, site, and draft_id in detail, including address normalization and accepted site names. The description adds only a high-level kept-site-versus-preview distinction and the not-found fallback, so it does not add much per-parameter meaning beyond the schema.

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?

The description states a specific verb and resource: reading one page of a kept site, or of a preview when draft_id is given. It explicitly distinguishes the scope from siblings like list_pages and find_references, so an agent can tell what this tool does 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 Guidelines4/5

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

It names list_pages for listing addresses and find_references for finding mentions without reading each page, which implies when read_page is appropriate. However, it does not give an explicit 'use this when' statement or a direct exclusion, leaving some routing to inference.

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.