Skip to main content
Glama

Tirar uma pessoa de ausência temporária por código (Auth)

zeev_patch_users_by_userid_absent_leave

Removes a user from temporary absence using their user ID. Use it to end an absent-leave record when the person returns.

Instructions

Tirar uma pessoa de 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/leave 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>"
    },
    "name": "zeev_patch_users_by_userid_absent_leave"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesCódigo identificador da pessoa Local: path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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, and the description adds nothing beyond repeating the category ('Ausência temporária') and a KB link. It does not say what happens if the person is not currently absent, whether leave history is preserved, or what auth scope '(Auth)' actually requires.

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?

Very short and front-loaded: the operation comes first, followed by a docs link, endpoint and category. The title is duplicated verbatim as the first line, and the endpoint/category lines are mostly metadata, but there is no padding or wandering prose.

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

Completeness3/5

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

For a one-parameter, no-output-schema endpoint, the definition is workable: it gives the HTTP method, path and category. It is missing the practical details an agent would want — the effect of calling it twice, preconditions (must the user currently be on leave?), and any failure modes — but nothing is outright misleading.

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 coverage is 100% and the sole parameter userId is fully documented in the schema. The description only adds the phrasing 'por código', reinforcing that userId is a person identifier rather than a name — a marginal clarification, so the 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 title/description states a concrete verb+resource: removing a person from temporary leave ('Tirar uma pessoa de ausência temporária'), and the endpoint PATCH /users/{userid}/absent/leave confirms the operation. It implicitly contrasts with the sibling 'absent_enter', though it never names that sibling or states the contrast explicitly.

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 explicit when-to-use or when-not-to-use guidance; the agent must infer the situation from the title. The obvious alternative (zeev_patch_users_by_userid_absent_enter) is never mentioned, so the only routing signal is the word 'leave' in the name.

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