Skip to main content
Glama

Confirm absence

confirm_absence
Idempotent

Bestaetigt oder verwirft eine Abwesenheit, die als Vorschlag entstanden ist (KI aus Lohnauswertung, Mail oder Kalender). Das ist der EINZIGE Weg, status zu aendern — create_absence und update_absence koennen es nicht, damit ein Vorschlag sich nicht selbst bestaetigt. Pruefer und Zeitpunkt werden mitgestempelt; nur BESTAETIGTE Urlaubstage zaehlen gegen den Restanspruch in vacation_balance. Wer korrigieren will, aendert erst die Tage mit update_absence und bestaetigt danach.

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": {
      "absence_id": "<absence_id>",
      "decision": "<decision>"
    },
    "name": "confirm_absence"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWarum, falls verworfen oder korrigiert
decisionYesbestaetigt = zaehlt ab jetzt; verworfen = bleibt als Beleg stehen, zaehlt aber nicht
absence_idYesId der Abwesenheit

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark this as a non-read-only, non-destructive, idempotent, closed-world mutation, and the description adds substantial context beyond that: the checker and timestamp are stamped automatically, rejected suggestions remain as evidence but do not count, and only confirmed days reduce the remaining entitlement in vacation_balance. It also explains the design rationale (a suggestion must not confirm itself), which is exactly the kind of side-effect disclosure annotations cannot carry.

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?

Four sentences, each carrying a distinct load: purpose, exclusivity, side effects, correction path. Front-loaded with the core action, though the density and the mixed German/English naming of the surrounding metadata add slight reading overhead.

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 three-parameter mutation with no output schema, the description covers the critical downstream consequences (status stamping, effect on vacation_balance, retained rejected suggestions) that an agent needs before calling it. It does not mention permission requirements or what the response looks like, which is a minor gap given the absence of an output schema.

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 coverage is 100%, with the decision enum and the note field already documented in the schema, so the baseline is 3. The description adds workflow meaning around when to correct versus confirm but does not elaborate on individual parameter formats or values beyond what the schema states.

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?

The description names a specific verb pair (confirm or reject) and a specific resource (an absence that originated as an AI/payroll/mail/calendar suggestion), and it explicitly contrasts itself with create_absence and update_absence. An agent can tell immediately what this tool does and what it does not do.

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

Usage Guidelines5/5

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

It states the exclusive condition for use ('the ONLY way to change status'), rules out the two sibling alternatives by name and explains why they cannot do it, and gives an ordered correction workflow (change days with update_absence, then confirm here). When-to-use, when-not-to-use, and alternatives are all present.

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.

Resources