Skip to main content
Glama

Horas.CL

Ver horas disponibles

get_availability
Read-onlyIdempotent

Horas libres de una atención para un rango de fechas (hay un máximo de días por consulta), calculadas al momento. Usa staffId "any" para cualquiera disponible cuando la atención lo permita. Devuelve las horas en la zona horaria del lugar. Solo consulta: no reserva. Las horas pueden ocuparse antes de que la persona confirme.

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": {
      "tenantSlug": "<tenantSlug>",
      "serviceId": "<serviceId>",
      "from": "<from>"
    },
    "name": "get_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoCantidad de días desde `from` (por defecto 7; hay un máximo).
fromYesPrimer día a consultar, AAAA-MM-DD.
staffIdNoId del profesional, o "any" para cualquiera disponible. Opcional si hay uno solo.
serviceIdYesId de la atención (de get_professional).
tenantSlugYesSlug del lugar (campo tenantSlug de get_professional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral facts: results are computed at request time, times are returned in the venue's timezone, and slots may be taken before the user confirms. That staleness warning is exactly the kind of context annotations cannot carry.

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?

Five short sentences, purpose front-loaded, then constraints, then the non-reserving caveat. Nearly every sentence carries information, though the 'any' guidance slightly duplicates the schema.

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 usefully tells the agent what comes back (available hours in the venue timezone) and warns about volatility. It does not describe the return shape, e.g. whether slots are grouped by day or by professional, which is a minor remaining gap for a 5-parameter tool.

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%, so the schema already documents every parameter including the 'any' staffId value and the days maximum. The description restates staffId 'any' and the day limit without adding format or edge-case detail 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 opens with a specific verb+resource: free slots for a service over a date range, computed live. It explicitly separates itself from booking behavior with 'Solo consulta: no reserva', so an agent can tell it is the read-only availability lookup rather than the booking action. No sibling is named directly, keeping it just short of a 5.

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?

It gives concrete usage context: a maximum number of days per query, the 'any' staff selector when the service allows it, and the fact that the result is a consultation that does not reserve. It never explicitly names booking_link as the follow-up alternative, so the routing guidance is implied rather than stated.

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