Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FET_CL_PATHNoAbsolute path to the fet-cl executable (e.g. C:\path\to\MCPFETIntegration\vendor\bin\fet-7.12.0\fet-cl.exe).
MCP_HTTP_TOKENNoLong-secret token required if MCP_HTTP_ALLOWED_HOSTS is set (Streamable HTTP bridge).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
fet_document_newB

Create a new in-memory FET document (Official by default) with BasicCompulsory time/space constraints. Returns documentId for subsequent entity/constraint tools.

fet_document_openC

Load a .fet XML file into the workspace (round-trip capable). Optionally copy into data/input.

fet_document_saveC

Serialize a workspace document to a .fet file (UTF-8 with BOM, FET section order preserved).

fet_document_listB

List in-memory FET documents in the MCP workspace.

fet_document_closeC

Drop a document from the workspace (does not delete files).

fet_document_summaryC

Summarize entity and constraint counts for a workspace document.

fet_meta_getC

Get file-level meta: version, Mode, Institution_Name, Comments, Terms fields.

fet_meta_setC

Patch file-level meta (Mode, Institution_Name, Comments, Terms, version attribute).

fet_entity_kindsA

List supported entity kinds for fet_entity_* tools (days, hours, teachers, students, subjects, rooms, …).

fet_entity_listC

List entities of a kind from a document (JSON fields mirroring FET XML children).

fet_entity_getC

Get one entity by kind + index.

fet_entity_upsertB

Insert or update an entity. fields is a JSON object mirroring XML children (e.g. Subject: {Name, Long_Name, Code, Comments}). Omit index to append.

fet_entity_removeC

Remove an entity by kind + index.

fet_entity_set_listC

Replace the entire days/hours/real_days/real_hours list (convenience for week definition).

fet_constraint_catalogA

List all FET constraint types from the 7.12 catalog (275 time + 82 space + 1 generation option). Filter by kind/mode/substring.

fet_constraint_schemaB

Return XML field/tag hints for one constraint type (extracted from FET getXmlDescription). fields JSON for add/update should mirror these tags; nested containers become objects/arrays.

fet_constraint_listC

List constraints present in a document (optionally filter by kind/type).

fet_constraint_getB

Get one constraint by kind + index (index is within that kind’s list).

fet_constraint_addB

Append a constraint of any catalog type. fields mirror XML children; Weight_Percentage/Active/Comments default to 100/true/"" when omitted (except generation options).

fet_constraint_updateB

Update constraint fields by kind+index. Default merges into existing fields; set replace=true to overwrite all children.

fet_constraint_removeC

Remove a constraint by kind + index.

fet_parse_assignmentsA

Parse Italian/plain-text teacher workloads (or JSON assignments) into structured rows without writing a .fet. Returns ambiguities that should be asked when unclear.

fet_from_assignmentsA

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.

fet_nl_parseA

Parse free-form Italian timetable prose (or structured intent JSON) into assignments, class splits (subgroups), and clarifying gaps. Does not write a .fet. Use before fet_nl_build when you want to inspect mapping/gaps. This MCP is NOT ChatGPT — the LLM client asks the user using returned gaps.ask.

fet_nl_buildB

Build a FET Official workspace .fet from Italian natural-language assignments + constraints (and/or structured intent). Maps Year→Group→Subgroup for split classes, teachers/subjects/activities, MinDays on weekly splits, and SameStartingTime for parallel halves. Returns documentId, mapping, and gaps (clarifying questions) — does not pretend to be the chat LLM.

fet_nl_patchB

Apply conversational Italian modifications (or structured patches) to an existing workspace document: add/change/remove assignments & constraints, add class splits/subgroups. End state remains a .fet suitable for fet_generate / fet_diagnose.

fet_nl_extractA

Open a workspace document or .fet path and extract entities + every constraint instance into structured JSON and Italian descriptions. Reports phrase coverage (all 358 catalog types are live; common school types use hand-tuned overlays). Use before descriptive rebuild/patch. Handles Active=false preferred-time locks as solution artifacts. Prefer synthetic examples unless the user names a path.

fet_describe_constraintsA

Describe FET constraints in Italian from a workspace document, .fet file, or inline {type,fields}. Uses live phrase templates for all 358 catalog types (common school types keep hand-tuned overlays).

fet_nl_phrase_catalogC

List NL phrase templates for the 358 FET constraint types (all live: schema-driven + priority overlays). Optionally parse one Italian phrase into type+fields.

fet_adviseA

Intelligent FET constraint advisor: analyze a workspace document / .fet (and optional Italian intent text) and return ranked suggestions for constraints the user may not know by name (MinDays, SameStartingTime for parallel labs, PreferredRoom for LAB, BreakTimes, MaxHoursDaily, NotAvailable, Consecutive, …). Each suggestion has catalog type, fieldsDraft, Italian rationale, and confidence. Heuristics follow common IT school practice and map only to real catalog types. IMPORTANT: the advisor proposes constraints — FET (fet_generate) still produces the timetable. Use fet_advise_apply to write accepted suggestions. Do not open private real-institute files unless the user explicitly provides a path.

fet_advise_applyA

Apply accepted fet_advise suggestions into the workspace document: pass suggestionIds, or omit ids to apply all high-confidence suggestions. May auto-create missing rooms referenced by PreferredRoom drafts. Returns applied/skipped lists. Does NOT run the FET solver — call fet_document_save then fet_generate afterwards.

fet_diagnoseA

Diagnose why FET timetable generation struggles or fails. Combines static conflict heuristics on a .fet / workspace document with optional fet-cl run and parsing of logs/ (errors.txt, difficult_activities.txt, result.txt). Returns Italian-friendly blockers with suggested fixes and catalog constraint types. When FET only says «Impossible», documents limits and points to max-placed / initial-order clues.

fet_statusA

Report MCP server status, configured FET version/upstream pin, catalog coverage, fet-cl availability, workspace docs, and data directories.

fet_load_dataA

Copy or register a .fet input file into the MCP data/input workspace and return a structured XML summary (also use fet_document_open for editable workspace docs).

fet_validateA

Parse and summarize a .fet file (structure/counts via XML model). Does not run the full FET generator.

fet_generateA

Run FET command-line generator (fet-cl) on a .fet input file. Generation may take seconds to hours; use wait=false for long jobs and poll with fet_job_status. On failure (wait=true), attaches fet_diagnose-style blockers when diagnoseOnFail is true (default).

fet_job_statusA

Get status for one generation job, or list recent jobs if jobId is omitted.

fet_exportB

List or read generation output artifacts under a job output directory (HTML/XML/CSV/logs).

fet_list_examplesB

List bundled synthetic/anonymous sample .fet files under examples/ (skips real-institute and non-example paths). Optional vendor FET examples if fetched.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 39 tools

Disambiguation2/5

Multiple clusters overlap heavily: fet_parse_assignments, fet_from_assignments, fet_nl_parse, fet_nl_build, and fet_nl_patch all convert Italian assignment text into structured/FET output, and fet_validate, fet_document_summary, fet_load_data, and fet_document_open all load-and-summarize .fet files. The four introspection tools (fet_constraint_catalog, fet_constraint_schema, fet_nl_phrase_catalog, fet_entity_kinds) and the description tools (fet_describe_constraints, fet_extract) are similarly hard to separate without reading long caveats.

Naming Consistency4/5

Names follow a consistent fet_<group>_<verb> pattern (fet_entity_*, fet_constraint_*, fet_document_*, fet_nl_*, fet_job_*), with minor deviations like fet_load_data, fet_list_examples, and fet_from_assignments that place the verb differently. The verbs (get, list, add, update, remove, upsert, set) are otherwise predictable.

Tool Count2/5

39 tools is heavy for a single server and several are redundant entry points to the same goal (e.g., three NL parsing/building paths, two file-loading tools). While the 358-constraint catalog justifies introspection tools, the surface feels bloated rather than tightly scoped.

Completeness5/5

The full timetable lifecycle is covered: document create/open/save/close, entity and constraint CRUD, meta patching, validation, NL parsing and building, generation via fet-cl, job polling, diagnosis, export, and advisory apply. Almost no obvious lifecycle dead ends remain.