Skip to main content
Glama

Natural Date Parser

dev_natural_date

Parse natural-language date and time expressions — "in two weeks", "next friday at 3pm", "dec 25th" — into exact ISO 8601 dates. Deterministic parsing (no LLM guessing); relative expressions resolve against a reference moment you control. Use this when an agent needs to "next friday 3pm" → exact ISO dates. x402 price $0.01/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYesDefaults to now
textYesExpression

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden well: it discloses deterministic (non-LLM) parsing, that relative expressions resolve against a caller-controlled reference moment, and the x402 payment model ($0.01/call USDC, eip155:8453). These are meaningful traits beyond the schema, though return shape edge cases (invalid expressions, ambiguous inputs) are not addressed.

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 core sentence is front-loaded and efficient, but the third sentence ("Use this when an agent needs to "next friday 3pm" → exact ISO dates") is malformed and largely restates the first, wasting space. Payment details are relevant but could be tightened.

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 correctly states the return form (exact ISO 8601 dates) and covers cost/auth model. Inputs are simple and fully schema-documented, so little else is needed; only error/edge behavior is left unstated.

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 both parameters; baseline 3 applies. The description adds only the notion that "relative expressions resolve against a reference moment you control," reinforcing the ref param but adding no syntax or format detail beyond the schema's "Defaults to now".

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+resource (parse natural-language date/time expressions into ISO 8601 dates) with concrete examples of the input class. It is clearly distinguishable from sibling tools like calculators_date_difference_calculator or live_timezone_convert, which do not convert free-text expressions to dates.

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?

Provides a trigger condition ("Use this when an agent needs...") and the deterministic-parsing rationale, which implies when to prefer it over an LLM guess. However, no explicit alternatives or when-not conditions are named, so the routing guidance is only 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