Skip to main content
Glama

Fechas de un rango

date-range
Read-onlyIdempotent

Lista fechas entre inicio y fin con paso en días, semanas o meses (máx. 1.000). Cuándo: un resultado de fechas, zonas horarias o calendario tiene que ser exacto (desfases, horario de verano, fines de mes, bisiestos). No para: calcular la diferencia entre dos fechas (date-between). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.

EN: Lists dates from start to end (inclusive) stepping by days, weeks or months (month steps clamp to month end), up to 1,000 dates, optionally skipping weekends. When: a date, time-zone or calendar result has to be exact (offsets, daylight saving, month ends, leap years). Not for: computing the difference between two dates or date-times (date-between). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. [EN completo / full EN: inputSchema.description]

Input Schema

NameRequiredDescriptionDefault
endYesEnd (string; required; up to 10 chars; format date).
stepNoStep size (integer; optional; default 1; min 1; max 1000).
unitNoStep unit (optional; one of: day, week, month; default "day").day
startYesStart (string; required; up to 10 chars; format date).
skip_weekendsNoSkip Saturday and Sunday (boolean; optional; default false).

Output Schema

NameRequiredDescriptionDefault
countNo
datesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / end / examples
      Added value: +[
      +  "2026-05-01"
      +]
    • addedInput schema / properties / start / examples
      Added value: +[
      +  "2026-01-31"
      +]
  2. Changed1 schema field changed
    • addedInput schema / description
      Added value: +"EN: Lists dates from start to end (inclusive) stepping by days, weeks or months (month steps clamp to month end), up to 1,000 dates, optionally skipping weekends. When: a date, time-zone or calendar result has to be exact (offsets, daylight saving, month ends, leap years). Not for: computing the difference between two dates or date-times (date-between). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB."
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description still adds value beyond them: determinism guarantee, no stored state, and concrete operational limits (64 KB input, 1 s per call, 1 MB result) that no annotation encodes. It also discloses the subtle month-step clamping behavior, which is the kind of trait that would otherwise cause wrong calls.

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?

Content is front-loaded and the When/Not-for/Side-effects/Limits labels are scannable, but the payload is duplicated wholesale in Spanish and English and ends with a dangling artifact ('[EN completo / full EN: inputSchema.description]'). The redundancy costs tokens without adding information.

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

Completeness5/5

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

An output schema exists so return values need no explanation; the description covers purpose, exclusions, determinism, side effects, limits, and the non-obvious clamping rule. Nothing an agent needs to invoke this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by clarifying semantics the schema only hints at, such as month steps clamping to month end and the 1,000-date ceiling interacting with step size. It does not, however, explain the skip_weekends interaction with step/unit or give format examples, so it stops short of 5.

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 verb and resource ('Lists dates from start to end, inclusive') plus the scope qualifiers that matter: step unit, month-end clamping, 1,000-date cap, optional weekend skipping. It also names the sibling it is not (date-between), so an agent can distinguish it without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'When' clause ties usage to exact calendar/time-zone results (DST, leap years, offsets, month ends), and an explicit 'Not for' clause routes difference computations to date-between. Both the use case and the exclusion are stated, not implied.

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