Skip to main content
Glama
MCP PDF Server

MCP PDF Server

by SantosRojas

list_pdf_components

Lists available PDF components, their categories, required and optional properties, examples, and JSON schema so you can inspect the catalog before building a document AST.

Instructions

Lista el catálogo de componentes PDF, sus categorías, propiedades requeridas/opcionales, ejemplos y esquema JSON. Consulta esta herramienta antes de construir el AST.

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

Input Schema

NameRequiredDescriptionDefault
categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does useful work by describing the response payload (categories, property requirements, examples, JSON schema) and the read-only nature implied by 'Lista'. It omits other behavioral traits: whether the catalog is static or version-dependent, how large the response is, and whether a category filter narrows the payload.

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 resource description comes first and the call instruction second. Every clause contributes information an agent can act on.

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?

There is no output schema, and the description does cover the shape of the returned catalog, which is the main thing an agent needs. However, for a tool that returns an entire component catalog including example payloads and JSON schemas, it says nothing about response size, the effect of narrowing by category, or whether the result is cached/static — all relevant to planning a call.

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% and the description never mentions the single 'category' parameter — not its existence, its filtering effect, or the default when omitted (presumably 'all'). The enum values are largely self-explanatory, which softens but does not remove the gap.

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 ('Lista el catálogo de componentes PDF') and enumerates what the listing contains (categories, required/optional properties, examples, JSON schema), which clearly separates it from siblings like list_pdfs that enumerate documents rather than component types. It does not name a sibling explicitly, so it stops short of a 5.

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 a concrete call context: 'Consulta esta herramienta antes de construir el AST,' which tells the agent to fetch this before any AST-building call such as generate_pdf or validate_pdf_ast. No explicit when-not or alternative is named, keeping it below 5.

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