Skip to main content
Glama

time_pay_dates

Read-only

Payroll calendar — A full-year payday calendar for weekly, biweekly, semimonthly (15th and last day) or monthly pay, with each date moved off weekends and US federal holidays (to the previous or next business day), the reason it moved, and the months with an extra paycheck. Price: $0.002 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_pay_dates"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNooptional day of month for monthly (default last day)
yearNooptional year (default this year)
adjustNooptional before (default) or after
anchorNooptional known payday YYYY-MM-DD to align weekly or biweekly
frequencyNoweekly, biweekly (default), semimonthly or monthly

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, open-world, so the safety profile is covered. The description adds genuinely useful context beyond them: weekend/holiday adjustment to the previous or next business day, that the move reason is returned, and critically that the call is paid ($0.002 USDC via x402 on Base) — a billing constraint an agent must know before invoking.

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 single sentence is front-loaded with the resource name and packs the substantive details (frequencies, adjustment rule, extra-paycheck months, price) without filler. It is slightly run-on, and the price could be split out for scannability, but nothing is wasted.

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?

All five parameters are optional and already documented in the schema, and with no output schema the description does the right thing by listing what the response contains (dates, move reasons, extra-paycheck months). Only the paid/x402 mechanics are stated without any hint of failure modes or prerequisites, a minor gap.

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 baseline is 3. The description adds some meaning for 'adjust' by explaining that dates move to the previous or next business day, and clarifies semimonthly as the 15th and last day, but it does not elaborate on 'anchor' alignment or the day-of-month semantics beyond what the schema already states.

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 names a specific resource (a full-year payday calendar) and enumerates exactly what it contains: adjusted pay dates for four pay frequencies, the reason each date moved, and months with an extra paycheck. An agent can distinguish this from generic date tools like time_business_days or time_holidays without opening the schema.

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?

Usage is implied by the payroll framing and the supported frequencies, and the semimonthly case is spelled out as 15th and last day. However, there is no explicit statement of when to prefer this over siblings (e.g., time_holidays for a plain holiday list) and no stated exclusions or prerequisites such as non-US holiday behavior.

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