Skip to main content
Glama

mechacut

date_civil

212 Tokyo invoices were dated in the SERVER's zone: the UTC instant was right and the fiscal year was wrong. The civil date is the date a NAMED zone says it is: instant (with offset) + IANA timezone, both required — the server clock is never read, a naked instant is refused. Answer: utc_date vs civil_date, weekday, offset, and the shifts named: day_shift, year_shift — when civil year != UTC year, the accounting period has moved and this says it. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instant": "<instant>"
    },
    "name": "date_civil"
  }
}

Input Schema

NameRequiredDescriptionDefault
instantYes
timezoneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does most of that job: the server clock is never read, an instant without an offset is refused, and the return fields (utc_date vs civil_date, weekday, offset, day_shift, year_shift) are enumerated along with what a year shift means. It omits error behavior for an invalid timezone and how the tool treats DST-ambiguous local times.

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?

It is dense but every element serves a purpose; the opening anecdote about the 212 Tokyo invoices, however, front-loads the motivation ahead of the operation. The trailing 'Free.' is filler.

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?

There is no output schema and no annotations, so the description must describe results, and it does, by listing the returned fields and explaining the semantic meaning of a year shift. What is missing is guidance on ambiguous or nonexistent local times and on behavior for malformed input.

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 0%, so the description has to compensate, and it partly does by requiring an offset in the instant and an IANA name for the timezone. It gives no concrete format example, and it says 'both required' even though the input schema marks only instant as required, a mismatch that will confuse an agent filling in arguments.

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 states a concrete operation: it derives the civil date that a named IANA zone assigns to a given instant, rather than trusting the server's own clock. That is specific enough to distinguish it from pure parsing or timezone-conversion siblings, but because it never names an alternative, it falls short of a 5.

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?

It implies when to use the tool, namely whenever the fiscal or civil date matters rather than the underlying instant, and it states hard preconditions that a bare instant with no offset is rejected. It never says when another tool is the better choice, for example resolving DST-overlap ambiguity or anchoring a zone.

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.