Skip to main content
Glama

Create absence

create_absence

Create a absence.

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>",
      "kind": "<kind>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "create_absence"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYeskind
noteNonote
sourceNosource
end_dateYesend_date
start_dateYesstart_date
employee_idYesemployee_id
working_daysNoworking_days
last_work_dayNolast_work_day
source_detailNosource_detail
u1_refund_eurNou1_refund_eur
u1_reported_onNou1_reported_on
source_document_idNosource_document_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare the write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), and the description adds nothing beyond them. It does not say whether the absence starts in a pending state requiring confirm_absence, whether employee_id must reference an existing employee, or whether overlapping absences are rejected. For a 12-parameter mutation these are material omissions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but short here means under-specified rather than efficient; the single sentence carries no information and even contains a grammatical error ("a absence"). There is no front-loaded useful content because there is no useful content at all.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with 12 parameters, 4 required, no output schema, and a lifecycle implied by the confirm_absence/update_absence siblings, the description omits state transitions, validation rules, and required permissions. An agent could not reliably call this correctly from the definition alone.

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

Parameters2/5

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

Schema description coverage is nominally 100%, which sets a baseline of 3, but every property description merely echoes its own key ("kind": "kind", "note": "note"), providing zero semantic content. Twelve parameters with no enum for 'kind' and undefined meanings for working_days, last_work_day, u1_refund_eur, and source_document_id leave the agent guessing, and the description compensates for none of it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a near-verbatim restatement of the tool name and title ("Create a absence"), adding only a grammatical error. It does not distinguish this from confirm_absence, update_absence, delete_absence, or get_absence, all of which operate on the same resource, so an agent learns nothing about scope beyond the verb 'create'.

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, when-not-to-use, or prerequisite guidance of any kind. Given siblings like confirm_absence that imply a pending/confirmed lifecycle, the absence of any routing hint is a real gap. Usage is only inferable from the name.

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