Skip to main content
Glama

korrigiere_ersparnis

Destructive

Correct an estimate (list_ersparnis): new minuten_hand / minuten_kontrolle / minuten_klassisch for auftrag_id (optionally only one vergleich), with a required notiz (why). Stored as a NEW version with person and timestamp (the previous one stays readable); saved CHF and net are recomputed with the original rates and measured AI cost. The correction becomes an anchor for future estimates of the same workflow. Admins and planners (humans) only.

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": {
      "auftrag_id": "<auftrag_id>",
      "notiz": "<notiz>"
    },
    "name": "korrigiere_ersparnis"
  }
}

Input Schema

NameRequiredDescriptionDefault
notizYesFree-text note
vergleichNoCorrect only this comparison
auftrag_idYesID of the job
minuten_handNoCorrected minutes for doing the work by hand
minuten_klassischNoCorrected minutes with classic software
minuten_kontrolleNoCorrected minutes for checking the AI result

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / auftrag_id / description
      Added value: +"ID of the job"
    • addedInput schema / properties / minuten_hand / description
      Added value: +"Corrected minutes for doing the work by hand"
    • addedInput schema / properties / minuten_klassisch / description
      Added value: +"Corrected minutes with classic software"
    • addedInput schema / properties / minuten_kontrolle / description
      Added value: +"Corrected minutes for checking the AI result"
    • addedInput schema / properties / notiz / description
      Added value: +"Free-text note"
    • addedInput schema / properties / vergleich / description
      Added value: +"Correct only this comparison"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that corrections are stored as a NEW version with person and timestamp while the previous one stays readable, that saved CHF and net are recomputed with the original rates and measured AI cost, and that the correction becomes an anchor for future estimates. This explains the non-idempotent, mutating nature declared in annotations; there is mild tension with destructiveHint=true since the description stresses the prior version remains readable, but it does not contradict the write semantics.

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?

Front-loaded with the action and the sibling reference, then consequences, then authorization. Semi-colons pack a lot in and the slash-separated field lists are telegraphic, but no sentence is filler and the ordering follows what an agent needs to decide and then call correctly.

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 6-parameter mutation tool with no output schema, it covers the decisive facts: what is overwritten versus versioned, recomputation of derived figures, authorization, and the required justification. The only gap is what the call returns (the new version record), which would help an agent confirm the correction landed.

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 coverage is 100%, so baseline is 3, but the description adds real meaning: notiz is the reason for the correction (schema only says 'Free-text note'), vergleich narrows the correction to a single comparison, and the three minuten fields are specifically corrected values within an auftrag_id. That maps the parameters onto the correction workflow rather than restating them.

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?

Specific verb plus resource: 'Correct an estimate' tied explicitly to the sibling list_ersparnis, and it names exactly which fields are corrected (minuten_hand / minuten_kontrolle / minuten_klassisch). An agent can distinguish this correction tool from list/record siblings without opening the schema.

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?

States the context of use (correcting an existing estimate, optionally scoped to one vergleich), that a notiz explaining why is mandatory, and that Admins and planners (humans) only may call it. It falls short of naming the sibling used for a brand-new estimate (record_ersparnis) or stating when not to correct, so the routing is implied rather than exhaustive.

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.