Skip to main content
Glama

Vista previa: cruzar notas con Educa

educa_preview_grades
Read-only

Preview how imported Excel/CSV or supplied grades and comments would be written into an open Educa gradebook, matching students and flagging issues without changing data.

Instructions

Cruza las notas (de un fichero o pasadas directamente) con la tabla de calificaciones abierta en Educa y devuelve, sin cambiar nada, qué se escribiría: alumno del fichero, alumno de Educa, nota actual, nota nueva y avisos (alumno no encontrado, nombre dudoso, nota fuera de rango o que no existe en el desplegable, campo bloqueado). Indica también la escala detectada en la pantalla y convierte cada nota a ella: si Educa pide términos (ESO) y el fichero trae números, aplica 0–4 IN, 5 SU, 6 BI, 7–8 NT, 9–10 SB; si pide número (Bachillerato, FP) rechaza los términos y los decimales. Devuelve un plan_id para educa_fill_grades.

Los nombres se emparejan sin importar mayúsculas, tildes ni el orden "Apellidos, Nombre" / "Nombre Apellidos". Las coincidencias aproximadas se marcan y no se escriben salvo que se pida.

Observaciones para las familias (opcional): si el fichero tiene una columna "Observaciones" o "Comentario" (o se pasa comment en grades), también se prepara el texto del cuadro de observaciones de cada alumno. Un alumno puede llevar solo observación, sin nota. Las observaciones que ya haya en Educa no se sustituyen salvo overwrite_comments=true (pídelo solo si el profesor lo quiere). Máximo 4000 caracteres por alumno.

Enseña siempre el resultado al profesor antes de rellenar.

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

Input Schema

NameRequiredDescriptionDefault
sheetNo
stageNoEtapa del grupo, solo si la detección automática falla (afecta al rango numérico: en FP 1–10, en Bachillerato 0–10)
columnNoColumna de Educa donde va la nota, si hay varias editables
gradesNoAlternativa al fichero: [{"student":"García López, Ana","grade":"7","comment":"Buen trabajo en el proyecto."}, ...]
file_pathNoRuta a un .xlsx o .csv con las notas
id_columnNo
name_columnNo
grade_columnNo
comment_columnNoColumna del fichero con las observaciones, si no se detecta sola
response_formatNo'markdown' para leerlo, 'json' para datos estructuradosmarkdown
overwrite_commentsNoSustituir las observaciones que ya haya en Educa (solo si el profesor lo pide)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv1.3.0
    • addedInput schema / properties / comment_column
      Added value: +{
      +  "description": "Columna del fichero con las observaciones, si no se detecta sola",
      +  "type": "string"
      +}
    • changedInput schema / properties / grades / description
      Previous value: -"Alternativa al fichero: [{\"student\":\"García López, Ana\",\"grade\":\"7\"}, ...]"New value: +"Alternativa al fichero: [{\"student\":\"García López, Ana\",\"grade\":\"7\",\"comment\":\"Buen trabajo en el proyecto.\"}, ...]"
    • addedInput schema / properties / grades / items / properties / comment
      Added value: +{
      +  "description": "Observaciones para las familias (opcional)",
      +  "type": "string"
      +}
    • addedInput schema / properties / grades / items / properties / grade / default
      Added value: +""
    • removedInput schema / properties / grades / items / properties / grade / minLength
      Removed value: -1
    • changedInput schema / properties / grades / items / required
      Previous value: -[
      -  "student",
      -  "grade"
      -]New value: +[
      +  "student"
      +]
    • addedInput schema / properties / overwrite_comments
      Added value: +{
      +  "default": false,
      +  "description": "Sustituir las observaciones que ya haya en Educa (solo si el profesor lo pide)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / stage
      Added value: +{
      +  "description": "Etapa del grupo, solo si la detección automática falla (afecta al rango numérico: en FP 1–10, en Bachillerato 0–10)",
      +  "enum": [
      +    "primaria",
      +    "eso",
      +    "bachillerato",
      +    "fp"
      +  ],
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true), yet the description adds substantial context beyond them: nothing is modified, the exact set of warnings emitted, scale detection and conversion rules per stage, fuzzy-name matching that is flagged but not written, and the 4000-character comment cap. The only gap is return shape/pagination, which is partly implied by response_format.

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 core action and the no-write guarantee, then organized into paragraphs for matching rules and observations. It is long, but nearly every sentence carries operational detail (conversion tables, warning types) rather than 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 an 11-parameter, no-output-schema preview tool in a domain with numeric/term scale rules, the description supplies the domain logic an agent cannot infer — scale conversion, name normalization, warning taxonomy, comment limits. Minor gaps remain around response_format semantics and the column-override parameters, which the schema covers.

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?

With 64% schema coverage and 11 parameters, the description still adds real meaning: grades is positioned as an alternative to file_path, comment/comment_column detection is explained, and overwrite_comments' risk is qualified. It leaves response_format, stage fallback, and column-override params largely to the schema.

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 specific verb and resource — cross-check grades from a file or inline against the open Educa grade sheet — and explicitly frames it as a no-write preview that returns a plan_id for educa_fill_grades. An agent can distinguish it from the fill/save siblings 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The relationship to the alternative is spelled out: it produces a plan_id consumed by educa_fill_grades, and the closing line 'Enseña siempre el resultado al profesor antes de rellenar' makes the preview-then-fill workflow mandatory. It also scopes overwrite_comments ('pídelo solo si el profesor lo quiere') and offers grades as an explicit alternative to the file path.

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