Skip to main content
Glama

update_optimierung

DestructiveIdempotent

Record the next step of an optimisation as a NEW event (nothing is overwritten): status vorgeschlagen|ticket|umgesetzt|gemessen|verworfen, optional ticket_id, commit, deploy_version, notiz, messung ({kennzahl, vorher, nachher, zeitraum_vorher, zeitraum_nachher, ergebnis besser|gleich|schlechter}). Admins/planners or a permitted agent. Required: id, status. The nightly job measures implemented items automatically after 7 and 30 days.

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": {
      "id": "<id>",
      "status": "<status>"
    },
    "name": "update_optimierung"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the optimierung to change
notizNoFree-text note
commitNoCommit hash of the implementation
statusYesNew status
messungNoMeasured effect: {kennzahl, vorher, nachher, zeitraum_vorher, zeitraum_nachher, ergebnis}
ticket_idNoID of the ticket
deploy_versionNoDeployed version containing the change

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / commit / description
      Added value: +"Commit hash of the implementation"
    • addedInput schema / properties / deploy_version / description
      Added value: +"Deployed version containing the change"
    • addedInput schema / properties / id / description
      Added value: +"ID of the optimierung to change"
    • addedInput schema / properties / messung / description
      Added value: +"Measured effect: {kennzahl, vorher, nachher, zeitraum_vorher, zeitraum_nachher, ergebnis}"
    • addedInput schema / properties / notiz / description
      Added value: +"Free-text note"
    • addedInput schema / properties / status / description
      Added value: +"New status"
    • addedInput schema / properties / ticket_id / description
      Added value: +"ID of the ticket"
  2. First observed

TDQS

B3.3/5.0
Behavior1/5

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

The description asserts 'nothing is overwritten' and frames the call as an append-only, additive event, while annotations declare destructiveHint=true. That is a direct conflict with the MCP semantics of the hint (destructive implies non-additive updates). The useful additions — permission requirement and the 7/30-day automatic measurement — are undercut by this contradiction.

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?

The append-only semantics and required fields are front-loaded, followed by the permission note and the automation note. The middle sentence packs enums and a nested object structure densely, but every clause carries information; no filler.

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

Completeness5/5

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

For a 7-parameter mutation tool with no output schema, the definition covers the essentials an agent needs: append-only behavior, valid status values, the shape of the nested messung, authorization requirements, and the downstream automation that later fills measurement data. Return behavior is the only omission, and it is minor here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is already 100%, so the baseline is 3, but the description adds meaning not in the schema: the closed set of status values (vorgeschlagen|ticket|umgesetzt|gemessen|verworfen) and the nested messung field list including the ergebnis scale besser|gleich|schlechter, which the schema leaves as an untyped string. That is genuine semantic lift over the structured fields.

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 and resource ('Record the next step of an optimisation as a NEW event') and makes the event-sourced nature explicit, so an agent knows this appends rather than mutates in place. It does not name or differentiate against the sibling propose_optimierung, 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?

It states who may invoke it (Admins/planners or a permitted agent), what is required (id, status), and that a nightly job auto-measures implemented items after 7 and 30 days. It gives no explicit when-to-use versus propose_optimierung or the other update_* tools, and no exclusion conditions, leaving the choice to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.