Skip to main content
Glama

record_ersparnis

Destructive

Record the Analyse-Agent's savings estimates (from get_analysepaket). eintraege: [{ auftrag_typ (uebergabe|lauf|sitzung|optimierung), auftrag_id, tag (YYYY-MM-DD from the package; not needed for optimierung), minuten_hand, minuten_kontrolle, minuten_klassisch, begruendung (one sentence), annahmen (1-2 sentences), sicherheit (niedrig|mittel|hoch) }] — for auftrag_typ optimierung instead: personentage, wartung_personentage_jahr, tage_bis_live, begruendung, annahmen, sicherheit. modell: the model name of the estimating agent. The server takes result, agent, workflow, channel, measured AI cost and the tenant's rates from its own data and computes saved CHF and net; entries with missing/invalid fields, unknown orders or orders already estimated are rejected with a reason (others are stored). Append-only. Afterwards the daily metrics of the affected days are recomputed.

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": {
      "eintraege": "<eintraege>",
      "modell": "<modell>"
    },
    "name": "record_ersparnis"
  }
}

Input Schema

NameRequiredDescriptionDefault
modellYesModel name of the estimating agent
eintraegeYesSavings estimates per order, fields as described above

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / eintraege / description
      Added value: +"Savings estimates per order, fields as described above"
    • addedInput schema / properties / modell / description
      Added value: +"Model name of the estimating agent"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare write/destructive/non-idempotent; the description adds substantial behavior beyond that: the server computes saved CHF and net from its own data, partial failures are rejected with reasons while valid entries are stored, the record is append-only, and daily metrics are recomputed afterwards.

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 purpose and dense with useful detail, but it is one long run-on paragraph where the nested field list and the server-side computation rules run together, making it harder to scan than a lightly structured version would be.

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 destructive write tool with no output schema, the description covers everything an agent needs: what to submit, how values are computed server-side, partial-failure/rejection semantics, append-only nature, and the downstream metric recomputation.

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

Parameters5/5

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

The schema is a generic object with only 'fields as described above', so the description carries the real semantics: it enumerates eintraege fields, enum values for auftrag_typ and sicherheit, the YYYY-MM-DD tag format and its exception for optimierung, and the alternate optimierung field set, plus the meaning of modell.

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?

States a specific verb and resource ('Record the Analyse-Agent's savings estimates') and names the source tool get_analysepaket, so an agent can tell this is the write-side counterpart to the analysis package rather than a listing or correction tool.

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?

Usage is implied by 'from get_analysepaket' and by the note that already-estimated orders are rejected, which hints at a correction path. However, it never explicitly says when to use this versus korrigiere_ersparnis or list_ersparnis, so the agent must infer the alternative.

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.