Skip to main content
Glama

time_calendar_info

Read-only

Calendar facts for a date — Everything about a date in one call: day of week, day of year, ISO week number, quarter, fiscal year and quarter for any fiscal start month, week start and end, days in month, leap year, and whether it is a weekend, a US federal holiday or a business day. Price: $0.001 USDC (Base, via x402).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "time_calendar_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNooptional YYYY-MM-DD (default today)
fy_startNooptional fiscal year start month 1-12 (default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context absent from annotations: the call costs $0.001 USDC on Base via x402, which matters for an agent deciding whether to call it repeatedly. It stops short of stating data sources or rate limits.

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?

A single front-loaded sentence names the resource, then packs the enumerated outputs compactly, followed by a short pricing line. There is no filler; every clause advances the agent's understanding.

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 carries the burden of describing return values, and the enumeration does that thoroughly. Remaining gaps are minor — value formats (e.g., ISO week as '2024-W03') and failure behavior for malformed dates are not specified.

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 both parameters and their defaults (today, month 1) are already documented in the schema. The description reinforces fy_start semantics by tying it to 'fiscal year and quarter for any fiscal start month', which adds modest meaning beyond the schema's 'fiscal year start month 1-12'.

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 opens with a specific resource ('Calendar facts for a date') and enumerates exactly what is computed: day of week, day of year, ISO week, quarter, fiscal year/quarter, week bounds, days in month, leap year, weekend/holiday/business-day flags. The purpose is unmistakable, though it does not explicitly separate itself from siblings like time_holidays or time_business_days even while duplicating their outputs.

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?

'Everything about a date in one call' implies a usage pattern — prefer this when several calendar facts are needed rather than making several narrow calls — but the guidance is only implied. There is no explicit when-not statement and no sibling is named as an alternative.

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