Skip to main content
Glama

Definir pessoa como em ausência temporária por código (Auth)

zeev_patch_users_by_userid_absent_enter

Mark a Zeev user as on temporary leave by user ID. Send the absence start and end dates to register the leave period through the PATCH absent/enter endpoint.

Instructions

Definir pessoa como em ausência temporária por código (Auth) https://kb.stoque.com.br/zeev/apis/all/access/temporary-leave Endpoint: PATCH /api/2/users/{userid}/absent/enter Categoria: Ausência temporária

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": {
      "userId": "<userId>",
      "body": "<body>"
    },
    "name": "zeev_patch_users_by_userid_absent_enter"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesLocal: body; nome na API: absenceModel
userIdYesCódigo identificador da pessoa Local: path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, so safety is covered. The description adds nothing behavioral beyond that: it does not say whether an existing absence is overwritten, whether the date range must be valid/ordered, whether the call fails if the user is already absent, or what the response confirms.

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

Conciseness3/5

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

The prose is short and front-loaded, but the first line is a verbatim repeat of the tool title, followed by a bare knowledge-base URL and a category label. No sentence is actively wrong, yet only the endpoint line adds information beyond structured fields.

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 mutating, non-idempotent PATCH against a nested body object, and the description leaves the operational consequences unexplained: repeat-call behavior, conflict with existing absences, and success/failure outcomes. With no output schema, the description is the only place that context could live, and it is absent.

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%, with both absenceStartDate and absenceEndDate documented in the schema, so the baseline of 3 applies. The description contributes no additional semantics such as date constraints, ordering rules, or whether an end date is optional in practice.

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 gives a specific verb and resource ('Definir pessoa como em ausência temporária') and the endpoint line 'PATCH /api/2/users/{userid}/absent/enter' removes any ambiguity about what is being changed. However, it never distinguishes this from the near-identical sibling 'zeev_patch_users_by_userid_absent_leave', so an agent must infer the pairing from names alone.

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, no mention of the complementary absent/leave operation, and no prerequisites such as permission requirements or the user's current absence state. The only routing signal is the endpoint path, which the agent must decode itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools