Skip to main content
Glama

fet_generate

Generate a timetable by running the FET solver on a .fet input file, with optional asynchronous job tracking and automatic blocker diagnosis when generation fails.

Instructions

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).

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": {
      "inputFile": "<inputFile>"
    },
    "name": "fet_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoIf true (default), wait for fet-cl to finish. If false, start and return job id.
jobIdNoOptional job id for tracking.
languageNoe.g. en_US, it, ro
exportCsvNo
htmlLevelNo
inputFileYesAbsolute path to .fet, or filename under data/input.
outputDirNoOptional output directory (absolute or under data/output).
diagnoseOnFailNoIf true (default), when wait=true and generation does not succeed, attach Italian blocker diagnosis (static heuristics + FET logs).
timeLimitSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the key traits: runtime can range from seconds to hours, there is a job-id/polling lifecycle, and failures attach diagnosis blockers when diagnoseOnFail is true. It stops short of saying where artifacts land, whether existing output is overwritten, or what a successful wait=true run returns.

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?

Three sentences, front-loaded with the core action, then the runtime caveat and the async alternative, then the failure mode. Every sentence carries distinct information and nothing is repeated.

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 9-parameter mutation tool with no annotations and no output schema, the description covers the job lifecycle and error path but never states what a successful synchronous run produces (file paths, summary) or where output goes. An agent could call it correctly but cannot anticipate the result shape.

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 coverage is 67%, and the description reinforces the wait/diagnoseOnFail behavior already documented in the schema but adds no meaning for language, exportCsv, htmlLevel, outputDir, or timeLimitSeconds, which are partly or wholly undescribed. It adds operational rationale for wait but does not compensate for the uncovered parameters.

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?

The description gives a specific verb and resource ('Run FET command-line generator (fet-cl) on a .fet input file') and names the concrete binary it invokes. It also implicitly separates itself from the status/diagnose siblings by describing generation as the action and polling as a separate tool's job.

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

Usage Guidelines4/5

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

It explicitly says when to use async mode ('use wait=false for long jobs and poll with fet_job_status') and ties diagnoseOnFail to the wait=true path. What is missing is guidance on when to choose this over the other generation paths (e.g., fet_nl_build or fet_advise), so there is clear context but no exclusions.

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