Skip to main content
Glama

cancelar_aula

Cancels a scheduled English lesson in Times Connected and updates the student’s real schedule; confirm the date, time, and teacher before calling.

Instructions

Cancela (desmarca) uma aula de inglês agendada na Times Idiomas (Times Connected). Altera a agenda real do aluno. Confirme data, hora e professor com o usuário antes de chamar.

Use os valores retornados por listar_minhas_aulas (data YYYY-MM-DD, hora HH:MM). Em caso de timeout, verifique com listar_minhas_aulas antes de tentar de novo.

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": {
      "class_id": "<class_id>",
      "date": "<date>",
      "hour": "<hour>",
      "teacher_id": "<teacher_id>"
    },
    "name": "cancelar_aula"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
hourYes
class_idYes
teacher_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the key trait: this mutates the real schedule, so user confirmation is required before calling. It also preempts a timeout failure mode and the recovery check, though it never says whether a cancellation can be undone or whether any attendance/deadline policy applies.

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-loaded with the verb and the side effect, followed by the confirmation rule and the data-source rule in a short, ordered sequence; no filler sentences. The line-broken layout is slightly awkward but nothing is wasted.

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?

An output schema exists, so return values need no prose, and the description covers the pre-call workflow, value sourcing, and timeout recovery for a four-required-parameter mutation. The remaining gap is policy-level: reversibility and any rules governing late cancellation.

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 0% and all four parameter titles are generic, so the description must compensate: it pins the date to YYYY-MM-DD and hour to HH:MM and requires they come from listar_minhas_aulas. The two identifier parameters (class_id, teacher_id) are only traced back to that listing call, not explained in their own right.

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?

"Cancela (desmarca) uma aula de inglês agendada" names a specific verb and resource, and the clarification that it alters the student's real schedule makes the effect unambiguous. Against siblings like agendar_aula and listar_minhas_aulas, the destructive direction is unmistakable without opening any schema.

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 an explicit precondition (confirm date, hour and teacher with the user), tells the agent where to obtain valid values (listar_minhas_aulas), and covers the timeout retry path. It stops short of stating when not to use it, e.g. that rescheduling should go through agendar_aula.

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