Skip to main content
Glama

Resolve Date

resolve_date
Read-only

Also use this to convert times in other timezones to the user's local timezone. For example, if someone says "2pm PST" and the user is in Eastern, call resolve_date("2pm PST") and it will return the equivalent time in the user's timezone. Use standard timezone abbreviations (PST, PDT, EST, EDT, CST, CDT, MST, MDT, GMT, UTC, etc.) -- "Pacific" or "Eastern" alone won't parse.

IMPORTANT: When using the result for trigger_at in add_trigger, ALWAYS use the utc_iso field from the response (e.g. "2026-04-04T04:56:00Z"). The time and time_12h fields are in the user's LOCAL timezone — passing them with a "Z" suffix will create triggers at the wrong time. Dict with date, weekday, and (when time is present) time, time_12h, and utc_iso (UTC ISO format for use in triggers).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesNatural language date/time expression (e.g. "Tuesday", "next Monday", "2pm PST", "3:30 PM EDT Thursday")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses important behavioral details: standard timezone abbreviations are required, partial names like 'Pacific' will not parse, and the returned time/time_12h fields are local while utc_iso is needed for triggers. This gives the agent essential execution context that annotations alone do not provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well structured with a front-loaded summary, concrete use cases, an important warning, and a returns section. Every part adds necessary information, and the critical trigger-time warning is clearly marked as IMPORTANT.

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?

Given the tool's low complexity, single parameter, and readOnly annotation, the description fully covers what an agent needs: usage context, parsing constraints, output field meanings, and the UTC danger case. The returns block compensates for the absence of an output schema.

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?

The schema already documents the single expression parameter with examples at 100% coverage. The description adds further value by supplying additional relative-expression examples, clarifying timezone abbreviation requirements, and explaining how the expression maps to different output fields, especially utc_iso for triggers.

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 states a specific verb and resource: resolving a natural language or relative date/time expression into an actual date and optionally time. It clearly distinguishes its role from sibling tools by noting it should be used before searches, calendar events, or any operation needing a concrete date. The timezone conversion purpose is also explicit.

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?

The description gives explicit when-to-use guidance for relative expressions, timezone conversions, and date-requiring operations like create_calendar_event. It does not provide when-not-to-use guidance or name a directly competing alternative, so it falls just short of a 5.

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