Skip to main content
Glama

Get page

get_page
Read-onlyIdempotent

Returns the full page document (the IR tree) and its version — the baseVersion and node ids apply_ops takes — plus "anchors" ([{id, heading?}], the ids a "#…" link can name), access / accessMeans (who may read it), sharePicture (the link-preview picture) and inMenus ([{path, entryId, menu, pageId?}]: each menu entry leading here — site menu, site header, footer, this page — as arrange_menu_entry (area admin) names it). outline: true answers one row per element instead, far smaller; nodeId, only that part. A read never creates a site header or footer; the product page design is seeded on first read. Changing a design (product-template, post-template): preview_page with the same pageId shows it filled with a real product or post, as shoppers and readers see it. "cart-template" and the product page designs also answer design and designs (update_page {design}). A site keeps one product page design per kind of product, each product’s page wearing its kind’s: "product-template" (goods), "product-template-download" (downloads, Pro), "product-template-access" (classes & content, Pro) — productDesigns lists them. access: "public" (default), "members" or "group:{id}"; members-only pages are part of Pro. Full reference: get_reference {topic:"access"}.

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": {
      "siteId": "<siteId>",
      "pageId": "<pageId>"
    },
    "name": "get_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoWith outline: the nextCursor of the previous answer (pages over 500 elements)
nodeIdNoOnly this element: answers {version, rootId, node (it and everything inside it), parents [{id, type}] root first} instead of the whole page
pageIdYesPage id from get_site, e.g. "page-home", or a design: "product-template" (goods), "product-template-download", "product-template-access", "cart-template", "post-template", "site-header", "site-footer"
siteIdYesSite id (from list_sites)
outlineNoAnswer {version, rootId, total, nextCursor?, columns, rows}: one row per element in page order, not the document

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, and non-destructive, and the description goes well beyond them by disclosing side effects a read can trigger: 'A read never creates a site header or footer; the product page design is seeded on first read.' It also enumerates the non-obvious return surface (anchors, accessMeans, sharePicture, inMenus) and points to get_reference for the access model, which is exactly the context an agent needs before calling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded correctly in the first clause, but the body is a single dense paragraph of stacked parentheticals (access/accessMeans/sharePicture/inMenus/outline/nodeId all inside one sentence), which is hard to parse at a glance. Most content earns its place, yet the design-variant and Pro-tier detail could be tightened or broken into discrete statements without loss.

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?

For a read tool with no output schema, the description compensates thoroughly: it describes the returned document, version, anchors, access fields, menus, and the alternate outline/nodeId shapes, plus the first-read seeding behavior. It also routes to preview_page and get_reference for adjacent concerns, leaving nothing essential about correct invocation unstated.

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 meaning the schema doesn't: cursor is tied to outline pagination over 500 elements, nodeId's alternative return shape is spelled out, and the design pageId values are grouped by product kind with their Pro requirements. One weakness is that it discusses an 'access' option ("public", "members", "group:{id}") that is not a property in this tool's schema, which can mislead about what can be passed here.

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 names a specific verb and resource — 'Returns the full page document (the IR tree) and its version' — and immediately distinguishes variants: outline mode answers one row per element, nodeId answers only that part. It also ties its output to the sibling that consumes it (apply_ops takes baseVersion and node ids), so an agent knows exactly what this tool is for 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 gives concrete selection guidance: use outline when the full document is too large, nodeId when only one subtree is needed, and preview_page with the same pageId when previewing a changed design. It also clarifies which pageId values exist for designs. What it lacks is an explicit statement of when not to use get_page (e.g. versus get_site) — the routing is implied by the output descriptions rather than stated as a rule.

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.

Resources