Skip to main content
Glama

Configurar el aula

update_classroom

Modify a Chispa classroom by sending only the fields to change, including permissions, enrollment, trial lessons, and courses; confirm before saving.

Instructions

Cambia solo lo que envíes. name, description y student_teacher_chat: administrador del aula. student_tools ({foro:true, tableros:false…}, se combina con lo actual): permiso «herramientas». listed (aparece en el buscador de aulas), open_enrollment, trial_lessons (1-20) y course_ids (reemplaza los cursos del aula; quitar uno requiere confirm): solo quien creó el aula. Confirma con la persona antes de guardar.

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": "update_classroom"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNombre
listedNo
confirmNo
course_idsNo
descriptionNoDescripción (omítelo para no cambiarlo; "" lo borra)
classroom_idNo
student_toolsNo
trial_lessonsNo
open_enrollmentNo
student_teacher_chatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only supply destructiveHint=false, and the description adds substantive behavior beyond that: omitted fields are untouched, student_tools MERGES with the current settings while course_ids REPLACES the course list, and removing a course needs confirm. The remaining gap is that it never says what the 'confirm' parameter itself does or what happens if it is omitted.

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?

The critical partial-update rule is front-loaded and every clause carries information, with no filler. It is written as one dense, semicolon-chained sentence, which makes the permission clauses harder to scan than a short field-to-requirement list would.

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 10-parameter mutation with a nested object and no output schema, the description covers most fields, their permission tiers, and the merge/replace distinction an agent must not get wrong. The missing pieces are the identity field (classroom_id) and the confirm flag's exact effect, which are the two parameters an agent most needs documented in a mutating call.

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 only 20% on 10 parameters, so the description carries real burden and does add meaning: it explains 'listed' as appearing in the classroom search, gives the {foro:true, tableros:false} shape for the nested student_tools object, and states merge-vs-replace semantics for student_tools and course_ids. However, classroom_id and the confirm parameter get no explanation at all, and the trial_lessons 1-20 range merely repeats the schema's min/max.

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 opening 'Cambia solo lo que envíes' plus the field inventory makes it unambiguous that this is a partial update of an existing classroom. The verb and resource are specific and the tool name matches the described resource. It does not explicitly contrast itself with create_classroom or update_course, so it stops short of a 5.

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 real preconditions: which fields require classroom-admin rights, which require being the classroom creator, and the instruction 'Confirma con la persona antes de guardar'. That tells an agent when the call can succeed and what social step must precede it. It names no alternative tool and has no explicit when-not guidance, so 4 rather than 5.

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