Skip to main content
Glama

miel_leer

Idempotent

Reads text from MIeL course materials (PDF, DOCX, PPTX, or plain text) via contenido_id or URL to summarize, search, or answer questions; returns long files in parts for continuation.

Instructions

Lee el texto de un apunte de MIeL (PDF, Word .docx, PowerPoint .pptx o texto), para resumirlo, buscar algo o responder preguntas sobre él. Pasá contenido_id (de miel_contenidos) o url (adjunto de miel_mensaje). Si es largo viene por partes: para seguir, volvé a llamar con desde = siguiente.

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_leer"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoO la `url` de un adjunto de miel_mensaje.
desdeNoPágina/diapositiva/parte desde donde leer. Ej: 1.
materiaYesId de comisión, código o parte del nombre. Ej: 'prog avanzada'.
contenido_idNo`id` de miel_contenidos. Ej: '300089'.

Output Schema

NameRequiredDescriptionDefault
rutaYesDónde quedó el archivo en la compu del usuario.
avisoNo
desdeYes
hastaYes
textoYes
totalYesCantidad total de páginas/diapositivas/partes.
unidadYes'página', 'diapositiva' o 'parte'.
archivoYes
siguienteNoPasalo como `desde` para seguir leyendo; null si ya terminó.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

The chunking/pagination contract — long notes come in parts and continuation is done by re-calling with `desde` = `siguiente` — is genuine behavioral disclosure that the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) do not provide. Note the mild tension that a purely reading tool is annotated readOnlyHint=false, but the description's "Lee" wording is not itself misleading and could reflect external fetching rather than a true contradiction.

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 tight sentences: operation first, then parameter sourcing, then continuation behavior. Every clause carries information and the most actionable detail (how to page) is placed at the end without burying the purpose.

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?

With an output schema present, the description need not document return values, and it covers purpose, formats, sourcing, and multi-part continuation adequately. The remaining hole is that it never explains the required `materia` scope or what happens if the note is unavailable, so it is complete enough to call correctly but not fully.

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 real meaning: `contenido_id` must come from miel_contenidos and `url` from a miel_mensaje attachment, and `desde` is driven by the `siguiente` value returned by the previous call. It omits why `materia` is required even when an id or url is supplied, which is the one semantic 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 concrete verb plus resource ("Lee el texto de un apunte de MIeL") and enumerates the supported formats (PDF, .docx, .pptx, texto), so the agent knows exactly what operation and payload to expect. It also hints at the two upstream sources (miel_contenidos, miel_mensaje) but never contrasts itself with other read-oriented siblings such as miel_ver_pagina or miel_descargar.

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 use cases (resumir, buscar, responder preguntas) and explicit sourcing rules for the two identifier parameters, which is real routing guidance. It stops short of stating when NOT to use it or which sibling to prefer when the content is not a file note.

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