Skip to main content
Glama
Xournal++ MCP

Xournal++ MCP

by Eugeniouo

search_notebooks

Read-onlyIdempotent

Find Xournal++ notebooks and pages by filename or typed note text, returning stable references and page numbers for locating notes; handwriting and PDF background text are excluded.

Instructions

Find Xournal++ notebooks and pages by filename or typed note text. Returns stable references and page numbers. Coverage excludes handwriting and text from the PDF background.

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": {
      "query": "<query>"
    },
    "name": "search_notebooks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely useful behavior beyond that: it returns stable references with page numbers, and it discloses a real coverage limitation (handwriting and PDF background text are not indexed). It does not state result ordering or how paging beyond limit works.

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, front-loaded with the purpose, then the return shape, then the coverage caveat. No filler or redundancy; each sentence contributes distinct information.

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

Completeness4/5

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

With no output schema, the description correctly describes the return value (stable references plus page numbers) and bounds expectations with the coverage exclusion. The main remaining gap is paging/limit behavior, which matters since the only other parameter is a result cap.

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

Parameters3/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 burden. It clarifies the meaning of the required query parameter (matches filename or typed note text), which is real added value, but says nothing about limit, its default of 10, its 50 cap, or whether results are truncated.

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?

Names a specific verb (Find) and explicit resource (Xournal++ notebooks and pages), plus the two search dimensions: filename and typed note text. This clearly distinguishes it from siblings like open_notebook, read_page, and create_notebook, which operate on a single identified notebook or page.

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 clear context for when to use it (locating notebooks/pages by filename or typed text) and an implicit when-not via the coverage exclusion, which tells the agent not to rely on it for handwriting or PDF-background content. It stops short of naming an alternative tool for those excluded cases, so it is not a full 5.

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