Skip to main content
Glama

create_clockin_absence

Destructive

Create a clockin absence (POST /absences) — vacation, sickness etc. Required: employee_id, absencecategory_name, approval (pending|granted|denied), starts_at, ends_at. Optional: duration (full_day|half_day|start_end), note.

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": {
      "employee_id": "<employee_id>",
      "absencecategory_name": "<absencecategory_name>",
      "approval": "<approval>",
      "starts_at": "<starts_at>",
      "ends_at": "<ends_at>"
    },
    "name": "create_clockin_absence"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNonote
ends_atYesISO 8601
approvalYespending | granted | denied
durationNofull_day | half_day | start_end
starts_atYesISO 8601
employee_idYesclockin employee ID
absencecategory_nameYesvacation | sick | workshop | special_vacation | school | working_time_account | holiday | other | parental_leave | sick_child | … (siehe clockin-Doku)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered upstream. The description adds no behavior beyond them – it never says what record is created, whether duplicate absences are rejected, whether notifications or approval workflows are triggered, or that the write is non-idempotent and may need retry care. Restating 'POST /absences' is not behavioral context.

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?

It is one compact block, front-loaded with the action and endpoint, followed by the field inventory; there is essentially no filler. The only mild redundancy is re-listing values the schema already carries.

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 seven-parameter create tool with full schema descriptions and no output schema, the description provides everything needed to construct a valid call: verb, endpoint, required set, optional set and accepted values. It stops short of covering failure modes or side effects, but nothing needed for correct invocation is missing.

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 all seven parameters, their required status and the enum-like value sets are already documented in the schema. The description's 'Required: … Optional: …' split and value lists (pending|granted|denied, full_day|half_day|start_end) restate structured data without adding semantics such as how duration interacts with starts_at/ends_at.

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 opens with a concrete verb+resource pair ('Create a clockin absence') and even pins the HTTP endpoint (POST /absences) plus example absence kinds ('vacation, sickness'). The 'clockin_' prefix in the name is what separates it from the personio siblings, so the description itself does not explicitly disambiguate the two families, keeping it at 4 rather than 5.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance: nothing tells the agent why it should create a clockin absence rather than create_personio_absence, nor whether prerequisites (existing employee, existing absence category) must be satisfied first. The required/optional field lists imply a valid create payload but give no routing advice.

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.