Skip to main content
Glama

miel_ver_pagina

Idempotent

Render a PDF or image page as an image for visual review when text extraction fails or scanned documents, diagrams, and formulas need inspection.

Instructions

Muestra una página de un PDF (o un archivo de imagen) como imagen. Usalo cuando miel_leer avisa que no hay texto (PDF escaneado), o para ver gráficos, diagramas o fórmulas que no salen bien como texto.

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": {
      "materia": "<materia>"
    },
    "name": "miel_ver_pagina"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoO la `url` de un adjunto de miel_mensaje.
paginaNoNúmero de página del PDF. Ej: 1.
materiaYesId de comisión, código o parte del nombre. Ej: 'prog avanzada'.
contenido_idNo`id` de miel_contenidos. Ej: '300089'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.2/5.0
Behavior3/5

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

The description usefully discloses that the result is an image rather than text, which matters since there is no output schema. However, it says nothing about the odd readOnlyHint=false annotation, about limits (page size, cost of rendering many pages), or about failure modes for invalid pages or URLs. With annotations covering idempotency and non-destructiveness, the added value is real but thin.

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, zero filler. The capability statement comes first and the usage trigger second, which is the right order for an agent scanning for fit.

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?

For a four-parameter viewer with full schema coverage and no output schema, the description covers the essential contract: what it returns (an image) and when to reach for it. The only gap is that it does not clarify whether a page number is meaningless for image files or how the three locating parameters are prioritized.

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 100%, so each of the four parameters already carries its own explanation (url, pagina, materia, contenido_id). The description adds no guidance on choosing between url, contenido_id and materia, nor on how pagina interacts with image attachments; baseline 3 applies.

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?

States a specific verb and resource ('Muestra una página de un PDF ... como imagen') and scopes it to PDF pages and image files. It also names the sibling miel_leer and the condition that distinguishes the two, so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use triggers: when miel_leer reports no extractable text (scanned PDF), or to inspect graphics, diagrams and formulas that render poorly as text. The alternative tool is named along with the deciding condition.

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