Skip to main content
Glama

aula_read_file

Read-only

Reads PDF, Word, PowerPoint, Excel, image, and text files from the virtual classroom in paginated chunks, telling you the next part to request.

Instructions

Lee un archivo del aula virtual: PDF, Word (docx), PowerPoint (pptx), Excel (xlsx), imágenes y texto. Los PDF escaneados se devuelven como imagen de cada página.

Devuelve el archivo por partes (páginas, diapositivas o fragmentos), tantas como entren en una respuesta. Si quedan más, siguiente dice desde cuál pedir; también se puede saltar directo a una parte con desde.

Formatos que no sabe leer (.doc, .ppt viejos, .zip, .rar, videos): devuelve un error con la URL para que el usuario lo baje.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesLa `url` del archivo tal como la devuelve aula_open.
desdeNoNúmero de página, diapositiva o fragmento desde el cual leer. Por defecto, 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly and closed-world, and the description adds real context beyond that: pagination limits (only what fits in one response), scanned PDFs returned as page images, and error behavior for unsupported formats. No permissions or rate-limit details, but the behavior profile is solid.

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 paragraphs, each with a distinct job (what it reads, how pagination works, what fails). Front-loaded with capabilities and zero filler.

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?

For a two-parameter read tool with no output schema, the description covers supported formats, partial-return behavior, continuation mechanism, and failure mode. An agent has everything needed to call it and interpret results.

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?

Schema coverage is 100%, so baseline is 3, but the description adds meaning: it explains why `desde` exists (skipping to a part) and that `siguiente` points to the next chunk, which clarifies the pagination semantics the schema alone does not convey.

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 (read a file from the virtual classroom) and enumerates the supported formats (PDF, docx, pptx, xlsx, images, text). It also implicitly differentiates from the sibling aula_open by noting the `url` comes from that tool's output.

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 operational guidance: files come back in parts, `siguiente` tells where to continue, and `desde` lets you jump. Unsupported formats are covered with the fallback behavior (error with download URL). It lacks an explicit statement of when to prefer a sibling, but the context is clear.

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