Skip to main content
Glama
Xournal++ MCP

Xournal++ MCP

by Eugeniouo

read_shared_page

Read-onlyIdempotent

Reads the current Xournal++ page PNG that a user explicitly shares, including completed unsaved pen strokes, and returns the capture ID plus page dimensions in points.

Instructions

Read the current-page PNG explicitly shared by the user from Xournal++. Includes completed unsaved pen strokes. Returns the capture ID and page dimensions in points.

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_shared_page"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this as a safe, idempotent, non-destructive read, so the bar is lower, and the description still adds real context: the capture includes completed but unsaved pen strokes, so the agent knows the image reflects in-progress edits rather than a saved snapshot. It also names the return payload fields, which no output schema provides.

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

Conciseness5/5

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

Three short sentences, each carrying distinct information: source/scope, freshness caveat, and return payload. Nothing is repeated from the annotations and nothing is filler.

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 zero-parameter read with no output schema, the description covers the essential gaps: where the image comes from, whether unsaved strokes are included, and what the response contains (capture ID and dimensions in points). Nothing an agent needs in order to call it correctly 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?

The tool takes zero parameters, so the baseline is 4. The description correctly reflects that no input is needed and instead spends its words on the fixed source and returned values.

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?

States a specific verb and resource ("Read the current-page PNG") plus the source application (Xournal++) and a scope qualifier ("explicitly shared by the user"), which distinguishes it from the sibling read_page. It stops short of naming read_page directly, so the contrast is implied rather than declared.

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 phrase "explicitly shared by the user" implies a precondition for use, but there is no explicit when-to-use/when-not guidance and no named alternative for the case where the page was not shared. An agent must infer the routing rule.

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