Skip to main content
Glama

Preparar un parte de convivencia (vista previa)

educa_preview_incident
Read-only

Previews a student incident report by opening Educa’s new-report form to verify the student and read center options without saving, and lists behavior categories if no valid conduct is given.

Instructions

Prepara un parte (informe de convivencia) para un alumno y devuelve la vista previa tal como se registrará. Abre en Educa-Gestión el formulario de "Nuevo informe" del alumno para comprobar que existe y leer las opciones reales del centro (espacios y tipos de conducta), pero NO escribe nada en él.

Si no indicas conducta, o no encaja con ninguna de Educa, devuelve la lista de conductas por categoría (con su referencia al Decreto Foral 47/2010 de convivencia de Navarra) para que elijas. El relato lo redactas tú a partir de lo que cuente el docente, con tono formal y objetivo (ver instrucciones del servidor).

Después: enseña la vista previa al docente y, si da el visto bueno, educa_fill_incident.

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": {
      "group": "<group>",
      "student": "<student>",
      "report": "<report>"
    },
    "name": "educa_preview_incident"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoFecha del suceso: dd/mm/aaaa, "hoy" o "ayer"hoy
groupYesGrupo del alumno, como en Educa o parte del nombre (p. ej. "ESO 3º D", "3ºDEFH", "BTO N 1ºA")
placeNoEspacio, como en Educa (p. ej. "Sesión presencial", "Recreo", "Pasillos")Sesión presencial
reportYesRelato formal de lo sucedido para "Observaciones de lo sucedido" (máximo 4000 caracteres)
conductNoTipo de conducta: el rótulo de Educa (p. ej. "FALTA DE RESPETO") o la referencia normativa (p. ej. "art. 14 g"). Omítelo para recibir la lista.
measureNoPropuesta de medida, si el docente la indica (se valida contra la lista de Educa al rellenar)
studentYesAlumno: nombre y apellido(s) en cualquier orden (p. ej. "Iker Muro")
session_timeNoHora de la sesión (p. ej. "12:40"). Si se omite, se usa la única sesión de ese día que el docente da al alumno.
response_formatNomarkdown
family_contactedNoMarca "Contacto con la familia" (solo si el docente ya ha hablado con la familia)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, and the description reinforces this with the concrete mechanism: it opens the 'Nuevo informe' form to verify the student exists and read the centre's real spaces and behaviour types, but does not write. It further discloses the validation side effects (verifying the student, reading real options) and that measure is validated later at fill time, which is context the annotations cannot carry.

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 purpose and the no-write guarantee, then the fallback behaviour, then the next step. Slightly long and includes a pointer to server instructions that adds little, but there is no filler or repetition.

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, no-output-schema tool it covers the important gaps: what a preview means, what comes back when conduct is missing, and which sibling to call next. It could say a bit more about what the preview object contains, but nothing needed to invoke it correctly is missing.

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 90%, so baseline is 3; the description still adds meaning by explaining that omitting conduct returns the categorized list with its Decreto Foral 47/2010 reference, that omitting session_time falls back to the teacher's single session that day, and that measure is checked against Educa's list only at fill time. It also clarifies the expected tone and source of the report narrative.

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?

States a concrete verb and resource ('Prepara un parte / informe de convivencia') plus the exact output ('devuelve la vista previa tal como se registrará'). The opening also makes clear it is a dry-run that opens the Educa-Gestión form but writes nothing, which separates it cleanly from educa_fill_incident and educa_save_incident.

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 an explicit workflow: preview first, then 'si da el visto bueno, educa_fill_incident', naming the follow-up sibling. It also covers the branch case (omit conduct and it returns the categorized list so the agent can choose) and tells the agent to show the preview to the teacher before proceeding.

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