Skip to main content
Glama

Jet HR MCP by usefulapi

Update, approve or reject an absence request

jethr_update_absence_request
Destructive

Change a presence/absence request: dates, hours, note, or its status (APPROVED, REJECTED, PENDING; give rejection_reason when rejecting). WRITES to the company's HR records; approving or rejecting is visible to the employee, and send_notification=true notifies the people involved (default false; needs confirm_notification=true). Only the fields you pass change. PATCH /public-api/v1/presence-absence-requests/{uuid}/.

Input Schema

NameRequiredDescriptionDefault
idYesRequest uuid (from jethr_list_absence_requests).
pucNoSickness only: the PUC protocol number.
noteNoNew note.
statusNoNew status.
end_dateNoNew last day (yyyy-mm-dd); null clears it.
start_dateNoNew first day (yyyy-mm-dd); null clears it.
start_timeNoNew start time HH:MM, hourly requests only; null clears it.
assisted_ssnNoFiscal code of the assisted person (kinds that need it, e.g. Law 104 leave).
time_durationNoNew duration HH:MM, hourly requests only; null clears it.
rejection_reasonNoReason shown to the employee when status is REJECTED.
send_notificationNoNotify the people involved (default false); needs confirm_notification=true.
confirm_notificationNoMust be true when send_notification is true: the user approved that Jet HR notifies the people involved.
donor_transfusion_center_ssnNoDonor leave only: fiscal code of the transfusion center.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare destructiveHint=true; the description adds real substance beyond that: a write to company HR records, employee-visible approval/rejection, notification side effects with a confirmation gate, and PATCH partial-update semantics ('Only the fields you pass change'). It omits permissions/auth requirements and whether status changes are reversible, which keeps it from a 5.

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?

Front-loaded with the core action, then the side-effect warnings, ending with partial-update semantics and the endpoint. Dense and mostly waste-free; the HTTP path is implementation detail that could be trimmed.

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 13-parameter mutation with no output schema, the description covers the riskiest aspects: write scope, employee visibility, notification gating, and partial-update behavior. Remaining gaps (return payload, applicability of kind-specific fields like puc or assisted_ssn) are minor since the schema labels those.

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%, so every parameter is already documented, including the send_notification/confirm_notification dependency. The description mostly restates those rules in prose, adding only the grouping of 'dates, hours, note, or its status' — baseline 3 is appropriate.

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?

States a specific verb ('Change') on a specific resource ('presence/absence request') and enumerates the mutable dimensions: dates, hours, note, status. The verb alone distinguishes it from the create/delete siblings, so an agent can route correctly without opening the schema.

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 conditional guidance that matters at call time: 'give rejection_reason when rejecting' and 'send_notification=true ... needs confirm_notification=true'. It does not explicitly exclude any case or name a sibling alternative, so it stops short of 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.