Skip to main content
Glama

miel_cancelar_turno

DestructiveIdempotent

Cancels a user’s reserved course slot and frees the vacancy when explicitly requested, updating the schedule only on user instruction.

Instructions

Cancela un turno reservado del usuario y libera la vacante. Usalo sólo si el usuario lo pidió.

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>",
      "turno_id": "<turno_id>"
    },
    "name": "miel_cancelar_turno"
  }
}

Input Schema

NameRequiredDescriptionDefault
materiaYesId de comisión, código o parte del nombre. Ej: 'prog avanzada'.
turno_idYes`id` del horario en miel_turnos. Ej: '465'.

Output Schema

NameRequiredDescriptionDefault
idNoId del horario: se pasa a miel_reservar_turno / miel_cancelar_turno.
diaNo
fechaNo
lugarNo
eventoYes
horarioNoEj. '1800-1840'.
rango_idNo
vacantesNo
modalidadNo
reservadoNoTrue si el usuario ya reservó este turno.
disponibleNoTrue si se puede reservar.
reemplaza_otroNoTrue si ya tenés otro horario de este evento: reservar este cancela aquel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is carried by structured data. The description adds a real consequence ('libera la vacante'), but says nothing about reversibility, confirmation requirements, or what happens if the turno no longer exists.

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 short sentences: the action and its effect first, then the guardrail. Nothing is redundant and nothing needs to be scanned for.

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?

With rich annotations, an output schema, and fully documented two-parameter schema, the description only needs to convey purpose, side effect and the user-consent precondition — all of which it does. No material gap remains for an agent to call it correctly.

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%, with both 'materia' and 'turno_id' documented and exemplified, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond that, which is the expected baseline here.

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 specific verb plus resource ('Cancela un turno reservado del usuario') and adds the effect ('libera la vacante'), so the action is unambiguous. It does not explicitly name the counterpart tool (miel_reservar_turno), but the verb/resource pairing is distinctive enough that confusion is unlikely.

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?

'Usalo sólo si el usuario lo pidió' is an explicit precondition that also implies a when-not (never cancel proactively), which is meaningful for a destructive operation. It stops short of naming alternatives or describing what to do if the user asks to reschedule instead.

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