Skip to main content
Glama

Chato — Control de asistencia por WhatsApp

Cobertura de un sitio

cobertura_de_sitio
Read-only

Para un sitio y un rango de fechas: qué días tuvieron personal, cuántas personas registraron cada día, los días sin nadie y los registros fuera de sitio. Es la evidencia para el cliente final (la plaza, el corporativo, la planta) de que el servicio se cubrió. Úsala para "¿cubrimos la caseta norte en octubre?", "¿cuántas personas hubo cada día en el hospital?" o para preparar el reporte mensual de un cliente. Site coverage report for a client.

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": {
      "sitio": "<sitio>"
    },
    "name": "cobertura_de_sitio"
  }
}

Input Schema

NameRequiredDescriptionDefault
desdeNoInicio del rango, AAAA-MM-DD. Por defecto, los 30 días que terminan en "hasta" (contando ese día).
hastaNoFin del rango, AAAA-MM-DD. Por defecto hoy.
sitioYesNombre del sitio.
empresaNoNombre de la empresa. Solo hace falta cuando el usuario tiene varias empresas en Chato.

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 already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds real context beyond that — it is framed as client-facing evidence and explicitly includes days with no one present and off-site records, telling the agent the report fills gaps rather than only listing existing entries. It does not discuss permissions or the multi-company filter behavior.

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 scope and outputs, then the example queries, which is a sound structure. The trailing English gloss "Site coverage report for a client." is largely redundant with the preceding sentence.

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?

With no output schema, the description carries the burden of describing returns and does so by enumerating the four result categories. Combined with fully documented parameters, an agent has enough to call it correctly; only edge behavior (e.g., how off-site records are counted) is left implicit.

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 sitio, desde, hasta and empresa are already documented with formats and defaults. The description only restates the site-plus-date-range shape and adds nothing about the optional empresa filter, so the baseline of 3 applies.

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 resource and scope ("Para un sitio y un rango de fechas") and then enumerates exactly what it returns: days with staff, headcount per day, days with nobody, and off-site registrations. That output profile distinguishes it from siblings like registro_de_jornada or asistencia_del_dia without needing to name them.

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 concrete trigger questions ("¿cubrimos la caseta norte en octubre?", "¿cuántas personas hubo cada día en el hospital?") and a use case (preparing a client's monthly report), which is clear when-to-use guidance. It stops short of stating when to prefer a sibling tool instead, so it does not reach the top of the scale.

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