Skip to main content
Glama

Leer el fichero de notas

educa_load_grades_file
Read-only

Reads a teacher's Excel or CSV file and returns the parsed student-to-grade list, including observations when present, without changing Educa.

Instructions

Lee un Excel (.xlsx) o CSV del ordenador del profesor y devuelve la lista alumno → nota (y observaciones, si las hay) que se ha entendido. No toca Educa. Detecta solas las columnas tipo "Alumno"/"Apellidos"+"Nombre", "Nota"/"Nota final"/"Calificación" y, opcional, "Observaciones"/"Comentario"; si no, indícalas.

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": {
      "file_path": "<file_path>"
    },
    "name": "educa_load_grades_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetNoHoja del Excel (por defecto la primera)
file_pathYesRuta absoluta al .xlsx o .csv
id_columnNoCabecera de una columna de identificador (NIA), opcional
name_columnNoCabecera de la columna del alumno
grade_columnNoCabecera de la columna de la nota
comment_columnNoCabecera de la columna de observaciones para las familias, si no se detecta sola

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.0
    • addedInput schema / properties / comment_column
      Added value: +{
      +  "description": "Cabecera de la columna de observaciones para las familias, si no se detecta sola",
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description reinforces this with "No toca Educa." It adds genuine behavioral detail beyond annotations: the auto-detection heuristics for header names, the accepted header variants, and the fallback of supplying column headers manually when detection fails.

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?

Three short sentences, front-loaded with the core action and return value, then the detection rules, then the fallback. The header-variant lists are dense but directly actionable; nothing is redundant.

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 read-only 6-parameter parser with no output schema, the description covers the return shape (student→grade plus observations), the no-side-effect guarantee, and the detection/override model. Only minor gaps remain, such as error behavior on unreadable files or unsupported sheets.

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 100%, so baseline is 3, but the description adds real meaning: it explains that name/grade/comment columns are detected automatically and that the optional parameters exist as the manual override when detection fails. This clarifies why four of the six parameters are optional rather than just naming them.

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?

States a concrete verb+resource: reading a local .xlsx/.csv and returning a student→grade mapping. The clause "No toca Educa" implicitly separates it from the Educa-facing siblings (fill/preview/save, read_grade_sheet), though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied (parse a local file before acting on it) and the "doesn't touch Educa" note clarifies the offline context, but there is no explicit when-to-use vs educa_list_grade_files or educa_read_grade_sheet guidance, and no stated prerequisites.

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