Skip to main content
Glama

calcular_fecha_resultado

Read-only

Suma o resta días, semanas, meses o años a una fecha para obtener otra fecha. Útil para calcular plazos, vencimientos, fechas futuras o pasadas.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unidadYesUnidad de tiempo: dias, semanas, meses o anios
cantidadYesNúmero de unidades a sumar o restar
fechaBaseYesFecha de partida en formato YYYY-MM-DD o "hoy"
operacionYes"sumar" para obtener una fecha futura, "restar" para una fecha pasada

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations indicate readOnlyHint=true, which the description aligns with (pure calculation). However, the description does not add behavioral details beyond the annotation, such as error handling or edge cases.

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?

Two clear sentences that efficiently convey the core functionality with no fluff. Could be slightly more structured, but adequate.

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

Completeness2/5

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

Missing return value description (likely a date string) is a gap, especially with no output schema. The tool has 4 params and the description is too brief for full context.

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 baseline is 3. The description does not add additional meaning beyond the schema; it merely summarizes the operation.

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?

The description explicitly states it adds or subtracts days, weeks, months, or years to a date, clearly distinguishing it from siblings like 'calcular_diferencia_fechas' and 'calcular_dia_semana'.

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

Usage Guidelines3/5

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

The description provides context for deadlines and expirations, but does not explicitly state when to avoid this tool or compare with alternatives like 'calcular_diferencia_fechas'.

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