Skip to main content
Glama
Xournal++ MCP

Xournal++ MCP

by Eugeniouo

read_page

Read-onlyIdempotent

Extracts typed text from a saved notebook page and optionally renders a PNG with handwriting and PDF background for visual interpretation.

Instructions

Read a page from a saved notebook. Returns typed text and optionally a rendered PNG including handwriting and the PDF background. Use the image for visual interpretation.

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

Input Schema

NameRequiredDescriptionDefault
pageYes
imageNo
notebookYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds value beyond that by disclosing the return payload: typed text plus an optional rendered PNG that includes handwriting and the PDF background, which is meaningful for a tool with no output schema.

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 short sentences, front-loaded with the core action and return value, with no filler. The final sentence is slightly redundant with the earlier mention of the optional PNG, but it still adds the decision cue for the image flag.

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

Completeness3/5

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

For a simple read tool with full annotation coverage and no output schema, most of what an agent needs is present. The notable gap is the notebook identifier format and page indexing, which an agent must guess before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the burden, but it only partially covers the 'image' parameter (explaining that it yields a rendered PNG for visual interpretation) and says nothing about whether 'notebook' is a name, ID, or path, nor about page numbering (the schema's exclusiveMinimum 0 implies 1-based but this is left unstated). Two of three parameters remain semantically opaque.

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 first sentence names a specific verb and resource ('Read a page from a saved notebook') and the second states what comes back (typed text plus optional rendered PNG), so an agent can tell this apart from a general search or drawing tool. It does not explicitly distinguish itself from the sibling read_shared_page, leaving the 'saved' vs 'shared' distinction to inference.

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?

The closing sentence 'Use the image for visual interpretation' gives one concrete usage cue for setting image=true. However, there is no guidance on when this tool should be chosen over read_shared_page, no note on prerequisites (e.g., the notebook must be opened first), and no exclusions.

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