Skip to main content
Glama

update_clockin_absence

DestructiveIdempotent

Update a clockin absence, e.g. approve a vacation request (PATCH /absences/{id}). Required: id, changes (clockin requires employee_id, absencecategory_name, approval, starts_at, ends_at — fetch first). Approving or denying is a decision for a human.

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>",
      "changes": "<changes>"
    },
    "name": "update_clockin_absence"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesclockin-ID der Abwesenheit
changesYesFields to change (clockin expects the required fields of the object in every update)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the mutation profile is known. The description adds genuine value by warning that the update must carry the full required field set (fetch first), which explains why a partial change is dangerous, and by flagging the human decision boundary. It does not say what a successful response looks like or what occurs to omitted fields.

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?

Three tight sentences, front-loaded with the action and endpoint, then requirements, then the safety caveat. Parentheticals carry detail without bloat; nothing is redundant enough to cut.

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 destructive nested-object update with no output schema, the definition covers the endpoint, the read-before-write workflow, required fields, and the human-approval boundary. The remaining gap is outcome behavior on success or failure, which is a minor omission given the annotation coverage.

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%, so both id and the nested changes object are documented in the schema, including the enum-like value lists. The description restates the required field set rather than adding format, defaults, or semantics the schema lacks, so the baseline 3 applies.

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?

States a specific verb and resource ('Update a clockin absence') plus the concrete endpoint PATCH /absences/{id} and a canonical example (approving a vacation request). It does not explicitly contrast with the sibling update_personio_absence, so the agent must infer the clockin-vs-personio split from the name alone.

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?

Gives a real usage scenario (approve a vacation request), a hard prerequisite ('fetch first' because clockin expects all required fields on every update), and a policy constraint that approving/denying belongs to a human. It stops short of explicit when-not-to-use guidance against the personio sibling.

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.