Skip to main content
Glama

aula_assign_submit

Destructive

Submits a virtual classroom assignment by uploading files, entering online text, or both, according to what the assignment accepts, and confirms delivery when required.

Instructions

Entrega una tarea (assign) del aula virtual: sube archivos, escribe el texto en línea o las dos cosas, según lo que acepte la tarea. Antes, abrila con aula_open: entrega dice qué acepta (acepta, con tipos, cantidad y tamaño), si puedeEditar y lo que ya está subido.

Los archivos nuevos se pasan en archivos con su ruta absoluta en la compu del usuario. archivos es la lista final y reemplaza lo anterior: para sumar uno sin perder los otros, incluí la url de cada archivo que ya está en la entrega. Si no pasás archivos, quedan los que estaban; lo mismo con texto.

Si la tarea no usa borradores, guardar ya es entregar. Si los usa (requiereConfirmarEnvio), la tool además confirma el envío, salvo con enviar: false; una vez enviada, en general no se puede cambiar. Con declaracion, el usuario tiene que aceptarla (aceptoDeclaracion). Devuelve cómo quedó la entrega.

Antes de llamarla, mostrale al usuario exactamente lo que se va a hacer y esperá que confirme. Incluí la tarea, los nombres de los archivos y si se confirma el envío.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textoNoTexto en línea completo, en texto plano; reemplaza al anterior. Una línea en blanco separa párrafos. Ej: "Link al repositorio: https://github.com/ana/tp3"
enviarNoSolo en tareas con borradores: confirmar el envío para que cuente como entregada. Por defecto, true. Ej: false para dejarla como borrador.
archivosNoLista final de archivos. Cada uno es la ruta absoluta de un archivo en la compu del usuario o la `url` de uno que ya está en la entrega. Lista vacía: quita todos. Ej: ["C:\Users\ana\Documents\TP3.pdf"].
direccionYesDirección de la tarea, de aula_open. Ej: "/curso/29487/mod/1729138".
aceptoDeclaracionNotrue si el usuario aceptó la `declaracion` de la tarea. Solo hace falta si la tarea la pide. Ej: true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=false) by disclosing that `archivos` is a final replacing list, that omission preserves existing values, that submission is generally irreversible once sent, that a declaration may need acceptance, and that the user must confirm beforehand. This matches and enriches the destructive/irreversible semantics declared in the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core action followed by prerequisites, replacement semantics, and the confirmation requirement — every paragraph carries distinct information. It is somewhat long and drifts into fluent narrative, but no sentence is filler.

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 destructive write tool with no output schema it covers prerequisites, irreversibility, replacement semantics, and the confirmation protocol. Return value is only gestured at ('Devuelve cómo quedó la entrega'), which is the one remaining gap, though acceptable given the complexity covered elsewhere.

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 the per-parameter meanings are already documented, but the description adds cross-parameter semantics the schema cannot express: empty `archivos` removes all files, existing files must be re-listed by `url` to be preserved, and omitting `texto`/`archivos` leaves prior values. That is meaningful value beyond the schema.

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 — submitting an assignment in the virtual classroom — and explains that it can upload files, write inline text, or both depending on what the task accepts. It is clearly distinguishable from siblings like aula_open (inspection) and aula_read_file.

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?

Explicitly requires calling aula_open first to read `entrega` (accepted types, size, puedeEditar, existing uploads) before submitting. It also spells out the draft vs. non-draft branch, the `enviar: false` alternative, and the human-confirmation step, so the agent knows exactly when and how to invoke it.

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