Skip to main content
Glama

create_personio_absence

Destructive

Create an absence period, e.g. a vacation request (POST /v2/absence-periods). Required: person_id, absence_type_id (list_personio_absence_types), starts_from (ISO date-time). Optional: ends_at, half days (starts_half/ends_half: FIRST_HALF|SECOND_HALF), comment, substitute_id, skip_approval. For day-based types (unit DAY, e.g. vacation) use T00:00:00 times with starts_half FIRST_HALF and ends_half SECOND_HALF, as Personio stores them; end ≠ start and no other clock times (Personio: 'Partial day absence … not allowed'). Check the counted days with get_personio_absence_breakdown. The person needs an absence policy for the type ('No policy is assigned'). Approving is a human decision — needs approval.

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": {
      "person_id": "<person_id>",
      "absence_type_id": "<absence_type_id>",
      "starts_from": "<starts_from>"
    },
    "name": "create_personio_absence"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNoKommentar
ends_atNoEnde (ISO)
ends_halfNoHalber Tag am Ende: FIRST_HALF oder SECOND_HALF
person_idYesPersonio-ID der Person
starts_fromYesBeginn (ISO)
starts_halfNoHalber Tag am Beginn: FIRST_HALF oder SECOND_HALF
skip_approvalNoGenehmigung in Personio überspringen (nur wenn die Zeit im Quellsystem, z. B. clockin, schon freigegeben ist)
substitute_idNoPersonio-ID der Vertretung
absence_type_idYesID der Abwesenheitsart

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already disclose that this is a non-idempotent, destructive, open-world write, and the description adds important behavior: absence-policy requirements, human approval, and the partial-day restriction that Personio enforces. It does not contradict the annotations, though it could say more about what a successful creation returns or whether retries duplicate records.

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?

The description is front-loaded and every sentence contributes required fields, day-based rules, or prerequisite checks. It is dense and somewhat run-on with parenthetical quotes, but it remains efficient rather than padded.

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 nine-parameter mutation with no output schema, it covers creation intent, prerequisites, approval handling, and the most error-prone formatting rules. It could be more complete about response behavior or duplicate-creation risk, but an agent has enough to invoke it correctly.

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?

Although the schema has full coverage, the description adds cross-field rules the schema does not encode: required versus optional fields, ISO date-time expectations, FIRST_HALF/SECOND_HALF usage, end must differ from start, no arbitrary clock times, and skip_approval's rationale. Those are meaningful semantics beyond the parameter descriptions.

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 uses a specific verb and resource: creates an absence period, gives vacation as an example, and cites the exact API endpoint. It is clearly distinguishable from read, update, and delete absence tools, even without naming those siblings.

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?

It names concrete prerequisites and supporting tools: call list_personio_absence_types for the type, get_personio_absence_breakdown to check counted days, and use skip_approval only when the source system already approved the time. It lacks explicit when-not or comparative guidance against create_clockin_absence and update_personio_absence, which prevents a 5.

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.