Skip to main content
Glama

Get a page

get_page
Read-only

Read a wiki page's title, breadcrumbs, and Markdown body to edit it, with version history and offset-based continuation for long content.

Instructions

Read a page: title, version, URL, breadcrumbs and the body as Sophia Markdown (exact text, to edit and send back with update_page). Long bodies are cut at max_chars: continue with offset, and never save a cut body. With version, reads that older version; with history, lists all versions. Body = GitHub-flavoured Markdown (tables, task lists, fenced code). Raw HTML is NOT rendered (shown as text), so convert it. Sophia syntax: files ![name](attachment:<uuid>); mentions @[Name](user:<uuid>); panels = blockquote whose first line is > [!INFO], > [!NOTE], > [!SUCCESS], > [!WARNING] or > [!ERROR]; internal links [Title](/sophia/spaces/<KEY>/pages/<pageId>); Kanbio ticket keys written as plain text (e.g. PROJ-12; not inside code or links) link automatically. Links may only point to http(s), mailto, /site-paths or #anchors; images only to attachment: or http(s).

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

Input Schema

NameRequiredDescriptionDefault
offsetNoStart of the body slice, in characters.
historyNoAlso list every version (number, date, author, title).
page_idYesSophia page id (uuid), from get_page_tree, search_pages or recent_pages.
versionNoAn older version to read instead of the current one.
max_charsNoLongest body slice returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnlyHint, openWorldHint=false), yet the description still adds real behavioral facts: bodies are truncated at max_chars, must be continued with offset, and a truncated body must never be saved back. It also discloses that raw HTML is returned as text rather than rendered, which changes how an agent must interpret the body.

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 purpose, then truncation behavior, then a syntax reference block. It is dense and long, but the Sophia Markdown rules (panels, mentions, attachment images, allowed link schemes) are directly actionable for producing a body that update_page will accept, so they earn their place. Minor trimming of the format block would tighten it further.

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, so the description must describe the return shape and it does: title, version, URL, breadcrumbs, body, plus the version list when history is set. Combined with truncation handling and the format constraints needed for a round-trip edit, nothing essential is missing for a read-only tool of this complexity.

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 schema already defines all five parameters; the baseline would be 3. The description nonetheless adds meaning the schema lacks: the offset/max_chars pair forms a continuation protocol, and version/history are framed as read-an-older-version versus list-all-versions, which is more than the terse schema strings convey.

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?

Opens with a specific verb and resource plus the exact payload returned: "Read a page: title, version, URL, breadcrumbs and the body as Sophia Markdown." It also distinguishes the editing counterpart by name ("send back with update_page") and the id sources are stated in the schema, so an agent can separate this from update_page or get_page_tree immediately.

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 concrete conditions for the optional paths: "With version, reads that older version; with history, lists all versions" and a hard rule for the pagination loop ("continue with offset, and never save a cut body"). It routes the write case to update_page. It stops short of explicitly contrasting with search_pages/get_page_tree for discovery, but the when-to-use guidance for its own parameters is clear.

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