Skip to main content
Glama

Chato — Control de asistencia por WhatsApp

Vacaciones y permisos

vacaciones_y_permisos
Read-only

Las vacaciones, incapacidades y permisos registrados (ausencias justificadas) que tocan un rango de fechas, por persona, con folio y nota. En esos días laborables la persona no tiene falta. Úsala para "¿quién está de vacaciones esta semana?", "¿cuántos días de incapacidad tuvo Luis en octubre?" o antes de registrar una ausencia nueva. Leaves (vacations, sick leave, permits) in a date range.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vacaciones_y_permisos"
  }
}

Input Schema

NameRequiredDescriptionDefault
desdeNoInicio del rango, AAAA-MM-DD. Por defecto hoy.
hastaNoFin del rango, AAAA-MM-DD. Por defecto 30 días después de "desde".
empresaNoNombre de la empresa. Solo hace falta cuando el usuario tiene varias empresas en Chato.
empleadoNoNombre o código de una persona, para ver solo a ella.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. Beyond that, the description adds real domain semantics: these are justified absences recorded with folio and note, and 'en esos días laborables la persona no tiene falta' tells the agent the attendance consequence — context an agent could not derive from the schema. It says nothing about volume or pagination, but with no output schema that is a minor gap.

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?

The substantive content is front-loaded in two tight sentences, followed by illustrative queries that earn their place. The trailing English sentence 'Leaves (vacations, sick leave, permits) in a date range' largely duplicates the opening line and is the only clear redundancy.

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 4-parameter, read-only, non-open-world query tool with a fully documented schema, the description covers what is returned (registros con folio y nota), the semantic effect on attendance, and when to reach for it. Only result volume/ordering is unaddressed, which is acceptable given no output schema is defined.

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 every parameter carries its own description, including defaults for 'desde' and 'hasta' and the multi-company condition for 'empresa'. The description only echoes the date-range and per-person framing ('por persona'), adding no syntax or edge-case meaning beyond the schema, 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 description names the specific resource (vacation, sick leave and permit records — justified absences) and the scope (those touching a date range, per person, with folio and note), which is far more than a restatement of the name. It implicitly separates itself from the write counterpart by noting it is used 'antes de registrar una ausencia nueva', though it never names the sibling tool explicitly.

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?

Three concrete usage examples are given ('¿quién está de vacaciones esta semana?', '¿cuántos días de incapacidad tuvo Luis en octubre?') plus a pre-write consultation case, which is strong when-to-use guidance. It lacks any when-not-to-use statement or explicit routing to the alternative tool, keeping it 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.

Resources