Skip to main content
Glama

agendar_aula

Books an English lesson in a student's Times Connected schedule by confirming the selected date, time, and teacher before updating the real calendar.

Instructions

Agenda (marca) uma aula de inglês 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_horarios_disponiveis (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": "agendar_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.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key trait: this mutates the student's real schedule, so human confirmation is mandatory, plus timeout behavior. It does not cover what happens if the slot is taken, permission/auth requirements, or whether the booking can be undone, which leaves a gap for a destructive-ish mutation.

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?

Four short sentences, front-loaded with the action and its real-world consequence, then the confirmation rule, then input sourcing and error recovery. No 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 four-required-parameter mutation with an output schema (so return values need no explanation), the description covers effect, confirmation, input origin and timeout handling. Missing only failure modes such as slot conflicts or authorization errors, which an agent would benefit from knowing before calling.

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 coverage is 0% (only bare titles), so the description must compensate. It supplies formats for two of four parameters (date YYYY-MM-DD, hour HH:MM) and implies all values come from listar_horarios_disponiveis, but class_id and teacher_id are never explained, leaving half the parameters semantically opaque.

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?

Names a specific verb and resource ('Agenda (marca) uma aula de inglês na Times Idiomas'), and immediately states the real-world effect ('Altera a agenda real do aluno'), which separates it from cancelar_aula and the listing siblings.

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?

Gives explicit preconditions (confirm date, hour and teacher with the user first), points to listar_horarios_disponiveis as the source of valid inputs, and prescribes a recovery path via listar_minhas_aulas on timeout. This is close to a complete when/how playbook.

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