Skip to main content
Glama

miel_reservar_turno

Idempotent

Reserves a MIeL slot for make-up exams, consultations, or colloquiums on behalf of the user; confirm before replacing an existing booking.

Instructions

Reserva un turno (recuperatorio, consulta, coloquio) a nombre del usuario. Usalo sólo si el usuario lo pidió. Si el turno dice reemplaza_otro, reservarlo cancela el que ya tenía en ese evento: confirmalo con el usuario antes. Devuelve el turno con reservado en true.

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_reservar_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
Behavior4/5

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

The description discloses the non-obvious side effect that reserving a turno flagged `reemplaza_otro` cancels the previously held turno in that evento, plus the requirement to confirm with the user first – real behavioral content beyond the annotations. There is mild tension with destructiveHint=false since an existing booking can be displaced, though the disclosure itself mitigates it.

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?

Three short sentences, front-loaded with the purpose, then the usage gate, then the destructive-caveat and return value. No filler; the only slight looseness is that the return-value sentence is redundant with the output schema.

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 two-parameter mutation tool with full schema coverage, complete annotations and an output schema, the description covers purpose, gating, the key side effect and the confirmation requirement. Remaining gaps (error behavior on an invalid turno_id, what to do when the reservation fails) are minor.

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` (id/código/partial name) and `turno_id` (id from miel_turnos) already documented in the schema. The description adds no format or resolution detail beyond that, so it sits at the baseline for a fully documented two-parameter schema.

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?

"Reserva un turno ... a nombre del usuario" names a specific verb and resource and scopes the turno types (recuperatorio, consulta, coloquio), so the agent knows exactly what operation this is. It never names miel_cancelar_turno or miel_turnos as the counterpart, so differentiation from siblings is implied by the verb rather than stated.

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ó" gives an explicit gating condition, and the `reemplaza_otro` case adds a confirmation prerequisite before acting. What is missing is guidance on where to obtain `turno_id` first (e.g. miel_turnos) and no statement about when not to reserve at all.

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