Skip to main content
Glama

Update absence

update_absence
Idempotent

Update a absence by id. Only the fields you pass are changed.

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

Input Schema

NameRequiredDescriptionDefault
idYesabsence id
kindNokind
noteNonote
sourceNosource
end_dateNoend_date
start_dateNostart_date
employee_idNoemployee_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

B3.1/5.0
Behavior3/5

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

Annotations already disclose readOnly=false, destructiveHint=false and idempotentHint=true, so the safety profile is covered. The description adds meaningful PATCH semantics via 'Only the fields you pass are changed', which is real value beyond the annotations. It does not disclose side effects, validation failure behavior, or whether derived fields like working_days are recomputed.

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?

Two short sentences, front-loaded with the identifying verb and resource, with no filler. Minor deduction for the grammatical slip 'a absence' and for the fact that the second sentence carries nearly all the added value.

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

Completeness2/5

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

This is a 13-parameter mutation tool with no output schema and a schema whose field descriptions are tautological. The description says nothing about permissions, what happens to related fields when dates change, or the response, leaving the agent under-informed for a moderately complex write operation.

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 description coverage is 100%, but the schema descriptions are bare name restatements ('kind', 'note', 'source'), so the structured data adds little meaning. The description's partial-update clause tells the agent that omitted fields are preserved, which is the single most important semantic over 13 parameters, but it gives no meaning for any individual field. 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?

The description names a specific verb and resource ('Update a absence by id'), which distinguishes it from create_absence, get_absence, delete_absence and confirm_absence in the sibling set. It stops short of naming any sibling or explicitly contrasting scope, so it is clear but not fully differentiated.

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 guidance on when to choose this over create_absence or confirm_absence, nor on prerequisites such as the absence existing or being in an editable state. The only usage signal is implicit in 'by id', which leaves the agent to infer when this tool is appropriate.

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