Skip to main content
Glama

fet_constraint_update

Updates FET timetable constraint fields by kind and index, merging changes by default or replacing all child fields when replace is true.

Instructions

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

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>",
      "kind": "<kind>",
      "index": "<index>",
      "fields": "<fields>"
    },
    "name": "fet_constraint_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
indexYes
fieldsYes
replaceNo
documentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.2/5.0
Behavior2/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. It does disclose the most important behavioral detail — default merge into existing fields versus replace=true overwriting all children — which is genuinely valuable. However, it says nothing about whether a missing constraint errors or is created, what happens to unspecified top-level fields, permission/auth needs, or reversibility, which is a substantial gap for a mutation tool with zero annotation coverage.

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 short sentences, front-loaded with the operation and addressing scheme, followed immediately by the non-obvious default/replace distinction. No filler or restatement of the name.

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 five-parameter mutation tool with no annotations and no output schema, the description covers the highest-risk ambiguity (merge vs. destructive overwrite) that an agent could otherwise get wrong. Missing detail on documentId, error behavior when the target constraint is absent, and expected return keeps it from being complete.

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 0%, so the schema names parameters without explaining them. The description compensates for the two most consequential ones: 'fields' (merged into existing children by default) and 'replace' (overwrites all children). It adds nothing about 'documentId', does not mention the valid 'kind' values beyond implying kind is a selector, and does not clarify the index semantics, leaving roughly half the surface to inference.

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 gives a specific verb ('Update') and resource ('constraint fields') plus the addressing scheme ('by kind+index'), which distinguishes it from siblings like fet_constraint_add and fet_constraint_get. It stops short of explicitly contrasting itself with the add/get siblings, but the operation is unambiguous.

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

Usage Guidelines2/5

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

No explicit statement of when to use this versus fet_constraint_add (create) or fet_constraint_get (read), and no preconditions such as whether the constraint must already exist. The merge-vs-replace sentence is behavioral guidance about how to call it, not guidance about when to choose it.

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