Skip to main content
Glama

Crear o editar una actividad para entregar

save_task

Create or update a classroom activity: omit task_id to add a draft with a required title, or include task_id to revise submitted details; confirm before publishing.

Instructions

Actividad del aula que los estudiantes entregan (módulo Actividades). Sin task_id la crea (title obligatorio, borrador salvo published=true); con task_id cambia solo lo enviado. Confirma antes de publicar.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoTítulo
due_atNoFecha límite ISO; null la quita
task_idNo
publishedNo
classroom_idNo
instructionsNoInstrucciones (omítelo para no cambiarlo; "" lo borra)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the single destructiveHint=false annotation, the description discloses important behavior: creation defaults to draft unless published=true, title is required on creation, updates change only submitted fields, and publishing should be confirmed first. It does not cover permissions or full consequences of publishing, but adds substantial context.

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?

The description is three dense sentences with no wasted wording. It front-loads the resource, then explains create/edit modes and the publishing confirmation.

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 six-parameter create/edit tool with no output schema and minimal annotations, the description covers the core invocation logic, draft behavior, and partial updates. Minor gaps remain, notably classroom_id semantics and what is returned after saving.

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?

With schema coverage at 50%, the description compensates for key gaps by explaining task_id's create-vs-edit role, published's draft default, and title's conditional requirement. classroom_id remains unexplained, but the most behaviorally significant parameters are clarified.

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?

The description clearly states the resource and operation: a classroom activity that students submit, created without task_id and edited with task_id. It does not explicitly distinguish this tool from sibling save_* tools, but the resource and dual behavior are specific enough for an agent to identify the tool.

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?

It gives clear operational guidance: omit task_id to create, include task_id to edit only sent fields, and confirm before publishing. It does not name external alternatives or exclusions, but the create-vs-edit condition is explicit.

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

Deploy Server

Other Tools