Skip to main content
Glama

fet_from_assignments

Generate a valid Official FET workspace (.fet) from Italian/plain-text teacher assignments or structured JSON, creating teachers, subjects, student groups, split activities, and min-days constraints.

Instructions

Generate a valid Official (default) FET workspace .fet from Italian/plain-text teacher assignment descriptions (or structured JSON). Creates teachers, subjects, Year→Group students, split Activities, and MinDaysBetweenActivities. Returns documentId + mapping + ambiguities.

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

Input Schema

NameRequiredDescriptionDefault
textNoAssignment sheet text (IT/plain). Headers like Istituto:/Giorni:/Ore: are optional calendar hints.
calendarNoOptional school calendar defaults (days/hours/institution).
savePathNoIf set, save .fet (absolute or under data/input).
documentIdNo
assignmentsNoStructured assignments; merged with rows parsed from text.
strictAmbiguitiesNoIf true, do not build when parse ambiguities exist (default false = best-effort).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose meaningful behavior: it mutates the workspace by creating entities, reports a mapping and ambiguities, and (via the schema) may write a .fet to disk. What it omits is whether existing content is overwritten, whether a new document is created versus targeting documentId, and whether savePath writes are irreversible — important for a builder tool that writes files.

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?

Two tight sentences: the first front-loads the core action and accepted inputs, the second enumerates side effects and return values. No filler, no restatement of the tool name, and everything an agent needs to triage quickly is in the opening clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex six-parameter tool with nested objects and no output schema, the description covers inputs, created entities, and the shape of the response (documentId + mapping + ambiguities), which is a reasonable amount. It still leaves the document lifecycle ambiguous — new vs. existing document, overwrite semantics when both text and assignments are supplied, and when savePath actually persists — which matters at this complexity level.

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 description coverage is 83%, so the schema already documents most parameters including nested calendar/assignment fields; baseline is 3. The description adds only modest meaning beyond that — clarifying that 'text' is IT/plain prose versus structured 'assignments' JSON, and that ambiguities are reported back — without elaborating merge precedence or the effect of documentId.

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 description names a specific verb (Generate) and resource (a valid Official/.fet FET workspace) plus the exact input forms (Italian/plain-text teacher assignment descriptions or structured JSON), and enumerates what gets created (teachers, subjects, Year→Group students, split Activities, MinDaysBetweenActivities). It does not explicitly distinguish itself from plausible siblings such as fet_parse_assignments or fet_nl_build, 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 Guidelines3/5

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

Usage is only implied: an agent can infer 'use this when you have assignment text and want a full workspace built,' but there is no explicit when-to-use statement, no prerequisite (e.g., whether a document must already exist), and no named alternative for the parse-only or NL-build paths. The strictAmbiguities/default-false note hints at a best-effort vs. strict workflow but is framed as a parameter, not guidance.

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