Skip to main content
Glama

fet_nl_patch

Apply Italian-language or structured patches to an existing FET document: add/change/remove assignments and constraints, add class splits or subgroups, and keep .fet ready for generation or diagnosis.

Instructions

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.

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": {
      "documentId": "<documentId>"
    },
    "name": "fet_nl_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoItalian patch prose: «aggiungi…», «cambia X a N ore», «rimuovi attività di Y», nuovi split.
intentNo
patchesNoExplicit patch ops (merged with intent.patches).
savePathNo
documentIdYesWorkspace document id from fet_nl_build / fet_document_open.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It usefully states the outcome invariant (the document remains a .fet suitable for fet_generate / fet_diagnose), which signals a mutation with a preserved valid end state, but it says nothing about persistence (savePath vs workspace save), reversibility of removals, or what happens when a patch matches nothing.

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?

A single dense sentence that front-loads the action and scope, plus a short invariant clause. It is efficient and free of filler, though the parenthetical and slash-heavy phrasing make it slightly harder to scan than a two-sentence split would.

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 tool with five parameters, deeply nested union-typed patch objects, no annotations and no output schema, the definition covers the what and the end-state guarantee. It does not cover persistence/return behavior, error conditions, or partial-application semantics, which matter for a mutating nested-patch tool.

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 60%; documentId is documented in-schema as coming from fet_nl_build / fet_document_open, and text is illustrated with Italian phrasing examples. The description adds the useful distinction between conversational Italian input and structured patches, but leaves savePath and the intent-vs-patches relationship unexplained beyond the schema note.

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 specific verb (apply modifications/patches) and resource (an existing workspace document), and names the concrete edit domains: assignments, constraints, class splits/subgroups. The word 'existing' implicitly separates it from the build path (fet_nl_build) without naming it outright, so the sibling differentiation is present but not explicit.

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?

The phrase 'existing workspace document' implies when to use it (post-build editing) and the closing clause says the result is meant for fet_generate / fet_diagnose, giving downstream context. However, it never states when not to use it or points to structured single-edit siblings like fet_constraint_add / fet_entity_upsert, so an agent must infer the boundary itself.

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