Skip to main content
Glama

Fecha y hora actual en una zona horaria

time-now
Read-only

Devuelve el instante actual (o uno dado, para pruebas) en una zona horaria IANA: ISO 8601 con desfase, UTC, Unix, desfase, horario de verano, fecha y hora local, día de la semana y textos en español e inglés. Cuándo: un resultado de fechas, zonas horarias o calendario tiene que ser exacto (desfases, horario de verano, fines de mes, bisiestos). No para: convertir una fecha/hora de una zona horaria IANA a otra, considerando horario de verano (timezone-shift). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). No determinista: según el reloj salvo que se dé at. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.

EN: Returns the current instant (or a given one, for tests) in an IANA time zone: ISO 8601 with offset, UTC, Unix seconds and milliseconds, offset, daylight saving, local date and time, ISO weekday and texts in Spanish and English. [EN completo / full EN: inputSchema.description]

Input Schema

NameRequiredDescriptionDefault
atNoInstant to use instead of the clock: ISO 8601 with Z/offset, or naive local time in `timezone` (for tests and reproducible output) (string; optional; up to 40 chars).
timezoneNoIANA time zone, e.g. America/Bogota (string; optional; default "UTC"; up to 64 chars).UTC

Output Schema

NameRequiredDescriptionDefault
isoNo
utcNo
dateNo
timeNo
unixNo
offsetNo
sourceNo
text_enNo
text_esNo
unix_msNo
timezoneNo
weekday_enNo
weekday_esNo
weekday_isoNo
dst_in_effectNo
offset_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Adds real value beyond the annotations: the non-determinism rule ("según el reloj salvo que se dé at") tells the agent how to get reproducible output, and the stated limits (64 KB input, 1 s per call, 1 MB result) are not in any structured field. The "sin red / sin estado guardado / solo lectura" line largely restates readOnlyHint and openWorldHint, so not everything is net-new.

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?

The scoping constraints, limits, and exclusion are front-loaded, which is good. But the content is effectively duplicated in Spanish and English, and the trailing artifact "[EN completo / full EN: inputSchema.description]" is a placeholder that consumes space without conveying 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?

With an output schema present, return values need no explanation, and the annotations already carry the safety profile. The description still covers the pieces an agent needs to call it correctly: default timezone, the deterministic override, the DST/exactness use case, and the sibling exclusion.

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 the baseline is 3. The description only echoes the schema-level idea that a value for `at` can be supplied "para pruebas"; it adds no format, default, or precedence detail (e.g. naive local time interpreted in `timezone`) that the schema does not already carry.

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 concrete verb+resource ("Devuelve el instante actual ... en una zona horaria IANA") and enumerates the exact fields returned. It also names the sibling it is not (timezone-shift), so an agent can separate it from the other timezone tools without opening a 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 "Cuándo" condition (dates/time zones/calendars that must be exact: offsets, DST, month ends, leap years) and an explicit "No para" exclusion that routes conversion work to timezone-shift. Both when-to-use and when-not-to-use are given, with the alternative named.

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