Skip to main content
Glama

Validate an ISO calendar date

is-iso-date-safe
Read-onlyIdempotent

Canonical Gregorian date YYYY-MM-DD. Use before accepting YYYY-MM-DD dates, including leap-day validity. For timestamps, offsets or date/time conversion, use a time-aware parser instead. Checks only the Gregorian calendar date; no timezone lookup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesCandidate date formatted YYYY-MM-DD, such as 2024-02-29.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / date / description
      Added value: +"Candidate date formatted YYYY-MM-DD, such as 2024-02-29."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish the safe-read profile (readOnly, idempotent, non-destructive), so the description only needs to add scope detail — and it does: leap-day validity, Gregorian-only checking, and no timezone lookup. The one thing left unstated is the return shape (presumably boolean given the is-*-safe family and the absent output schema).

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?

Four tight clauses with zero filler; the format and scope constraint are front-loaded before the alternative-parser note. It reads as a compact spec rather than prose, which suits a single-parameter predicate tool.

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?

For a one-parameter predicate with full annotation coverage and no output schema, the description covers format, intent, and boundaries (no timezone, Gregorian only). The only gap is an explicit statement that the result is a boolean validity verdict.

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?

There is a single parameter and schema description coverage is 100%, so the schema already documents the 'date' field, its format, and the 2024-02-29 example. The description restates YYYY-MM-DD but adds no syntax, constraint, or edge-case detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and format: a canonical Gregorian date in YYYY-MM-DD, and frames the tool as a validity check including leap days. It distinguishes itself from time-aware parsers, so an agent can tell it apart from timestamp-handling tools. It does not explicitly differentiate from other is-*-safe siblings, but its scope is unambiguous.

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?

'Use before accepting YYYY-MM-DD dates' gives a clear triggering context, and 'For timestamps, offsets or date/time conversion, use a time-aware parser instead' names an explicit when-not and an alternative. No sibling is named among the listed tools, but the routing guidance is concrete rather than 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