pdf_metadatos
Devuelve páginas, cifrado y metadatos del PDF.
Args:
fuente: URL pública del PDF o su contenido en base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fuente | Yes |
Devuelve páginas, cifrado y metadatos del PDF.
Args:
fuente: URL pública del PDF o su contenido en base64.
| Name | Required | Description | Default |
|---|---|---|---|
| fuente | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden, and it does disclose the return content (page count, encryption status, metadata). It adds the accepted input forms (public URL or base64), which is genuinely useful, but says nothing about failure behavior for non-public/inaccessible URLs, size limits, or whether encrypted PDFs are readable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely tight: one sentence of purpose plus a single parameter note, with the operative content front-loaded. The 'Args:' block is slightly redundant scaffolding for a one-parameter tool, but nothing is bloated.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter, read-only extraction tool with no output schema and no annotations, the description tells the agent what it returns and what input forms are accepted, which is close to sufficient. Only the absence of any guidance on sibling selection or input failure modes keeps it from being fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% and the schema only types 'fuente' as a bare string, so the description's clarification that it is a public URL or base64-encoded file content is meaningful added semantics. It stops short of specifying the expected base64 encoding or error handling, but it covers the parameter's core ambiguity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific set of outputs — 'páginas, cifrado y metadatos' — for the PDF resource, which is concrete and far better than the bare tool name. It does not, however, explicitly contrast itself with the text-extraction siblings (pdf_texto, pdf_markdown, pdf_tablas), leaving the agent to infer the distinction from the output list alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no statement of when to prefer this tool over pdf_texto, pdf_markdown, pdf_tablas, or ocr, and no prerequisites are given. The only implicit signal is that it yields metadata rather than content, so the agent must infer the selection rule itself.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.