Skip to main content
Glama
AgentTanuki

Agent Guild

ag_text_date_normalize

Normalizes date strings to ISO 8601 format, handling ambiguous formats with a dayfirst option. Returns per-item success flags and counts of parsed and failed dates.

Instructions

Normalize arbitrary date strings to ISO 8601.

Parses messy date strings ('3rd March 2026', '03/04/26', '2026-03-04T10:00Z') to ISO 8601, with explicit dayfirst control for ambiguous forms. Per-item success flags — one bad date never fails the batch.

Deterministic, fixture-verified, free for guests (rate-limited; pass your Guild api_key to use your member budget). Returns the result plus a Guild-signed provenance envelope.

payload MUST match this JSON Schema: {"type": "object", "properties": {"dates": {"type": "array", "items": {"type": "string"}, "minItems": 1, "maxItems": 500}, "dayfirst": {"type": "boolean"}}, "required": ["dates"], "additionalProperties": false}

Output schema: {"type": "object", "properties": {"results": {"type": "array"}, "parsed": {"type": "integer"}, "failed": {"type": "integer"}}, "required": ["results", "parsed", "failed"], "additionalProperties": false}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNo
payloadYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.7.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description compensates by disclosing determinism, per-item success flags, batch failure behavior, rate limiting, and provenance envelope. It could be more explicit about exact error conditions, but overall behavior is transparent.

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?

The description is information-dense and mostly efficient, but it repeats the payload schema in prose even though the input schema already exists. There is no filler, and the structure is logical.

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?

The output schema plus the description of parsed/failed counts and per-item flags gives enough context for basic use. It does not detail the shape of each result item, but that is not critical given the output schema.

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?

The prose explains `dates` and `dayfirst` inside `payload`, but `api_key` is undocumented. Additionally, the input schema allows arbitrary additional properties in `payload`, contradicting the stated payload schema, so parameter coverage is partial and somewhat inconsistent.

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 operation — normalizing arbitrary date strings to ISO 8601 — with concrete examples, making the tool's purpose immediately clear and distinct from generic JSON/text tools.

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

Usage Guidelines2/5

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

No guidance is given on when to choose this tool over sibling tools such as ag_text_regex_extract or ag_json_repair. The description explains behavior but not selection criteria or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AgentTanuki/agent-guild'

If you have feedback or need assistance with the MCP directory API, please join our Discord server