Skip to main content
Glama
MCP PDF Server

MCP PDF Server

by SantosRojas

get_pdf_server_info

Retrieve PDF server status—version, workspace roots, default output folder, allowed folders, fonts, themes, and recommended workflow—to confirm where generated PDFs will be saved before you begin.

Instructions

Devuelve la versión del servidor, los workspace roots detectados, la carpeta de salida por defecto, las carpetas permitidas, las fuentes instaladas, los temas disponibles y el flujo recomendado. Llamar una vez al iniciar para saber exactamente dónde se guardarán los PDFs.

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": "get_pdf_server_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden; "Devuelve" plus the pure-listing content makes clear this is a read-only introspection call with no side effects. It also surfaces a genuinely useful operational fact beyond the schema: the response reveals where PDFs will actually be written, which matters for every downstream generate/merge call. It stops short of stating explicitly that nothing is mutated or whether results are cached per session.

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?

Two sentences, no filler: the first is a dense enumeration of returned fields and the second is the actionable instruction. The usage directive is placed last where it reads as the conclusion of the enumeration, so the text is well ordered despite its brevity.

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?

With no output schema, the description must substitute for it, and it does so by naming each returned category in turn, including the two that most affect agent behavior (allowed folders and default output folder). Nothing an agent needs in order to decide to call this at session start 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 there is no parameter semantics to explain and the baseline of 4 applies. The description correctly spends no words on arguments and instead invests them in describing the response.

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?

The description opens with a specific verb and resource ("Devuelve la versión del servidor") and then enumerates exactly what the payload contains: version, workspace roots, default output folder, allowed folders, fonts, themes, and recommended workflow. That enumeration makes it unmistakably distinct from the sibling tools, which all act on PDFs rather than reporting server state.

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?

"Llamar una vez al iniciar" gives an explicit trigger and a call-frequency constraint, which is exactly the guidance an agent needs for a bootstrap tool. It does not name when-not to call it or point to alternatives, but for a singleton introspection tool there is no meaningful alternative to route to.

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