Skip to main content
Glama
Xournal++ MCP

Xournal++ MCP

by Eugeniouo

create_notebook

Idempotent

Create editable Xournal++ notebooks with custom page sizes, named layers, text, shapes, and polygons in a configured folder while preserving existing .xopp files.

Instructions

Create an editable Xournal++ notebook in a configured folder. Set page dimensions in points. Build named layers using text blocks, geometric primitives and filled polygons. New files use the requested .xopp filename. Existing files are preserved.

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": {
      "filename": "<filename>",
      "title": "<title>",
      "pages": "<pages>"
    },
    "name": "create_notebook"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNo
pagesYes
titleYes
filenameYes

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=false, idempotent=true, destructive=false and openWorld=false, but the description adds genuinely new context: files land in a pre-configured folder (no path parameter exists), dimensions are in points, and existing files are preserved rather than overwritten. The remaining gap is that 'preserved' is ambiguous about whether a name collision errors or silently no-ops.

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?

Five short sentences, front-loaded with the create action and then layering on scope, units, structure and collision behavior; nothing is narrative padding. The '.xopp filename' sentence partially restates the schema's filename pattern, keeping it just below a perfect score.

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 tool with a deeply nested schema (pages → layers → items, up to 12 pages / 8 layers / 180 items) and no output schema, the description gives a fair structural overview and units. However, required parameters 'title' and 'root' are undocumented, item-type coverage is only summarized, and nothing is said about what the call returns or how failures surface.

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 carries the full burden, yet it only glosses the 'pages' structure (dimensions in points, named layers, text blocks, geometric primitives, filled polygons) and the '.xopp' filename constraint. The required 'title' parameter and the 'root' page-index parameter are never mentioned, and no coordinate-origin or nesting semantics are given.

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 description opens with a specific verb+resource: 'Create an editable Xournal++ notebook in a configured folder', which is immediately distinguishable from siblings like open_notebook, read_page and search_notebooks. It does not explicitly name an alternative, but the create-vs-open-vs-read distinction is unambiguous from the wording.

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?

There is no explicit when-to-use or when-not-to-use statement and no sibling is named as an alternative. Usage is only implied by the verb 'Create' and by the note that existing files are preserved, leaving the agent to infer that this is the tool for producing a new notebook rather than inspecting one.

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