Skip to main content
Glama

exchange-calendar

Exchange calendar. No input: the NYSE trading calendar hardcoded in the worker, the full 2026 and 2027 closure and early-close tables with weekday labels and computed trading-day counts, the today card with session hours, and the next trading day, holiday, and early close, answered fresh on every call. Price: $0.005 per call, paid in USDC on Base mainnet over x402; an unpaid call answers HTTP 402 with the exact machine-readable payment terms.

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": "exchange-calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description carries the full burden, and it does substantial work: it states the data is hardcoded in the worker (so it is static, not a live feed), that answers are recomputed per call, and crucially that each call costs $0.005 in USDC on Base via x402, with an unpaid call returning HTTP 402 with machine-readable payment terms. The cost and payment-failure behaviour are exactly the kind of pre-call context an agent needs. It does not mention rate limits or response format.

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?

Front-loaded with purpose, then the returned content, then the price/payment model — a sensible order. It is a single dense run-on sentence and phrases like 'answered fresh on every call' sit awkwardly next to 'hardcoded in the worker', but nearly every clause carries information an agent needs.

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 zero-parameter tool with no output schema, the description must explain the return payload and it does so concretely (tables, today card, next trading day). The paid-call model and 402 behaviour are also disclosed. Missing only minor detail such as timezone handling and whether the response is JSON.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters and the description explicitly says 'No input', which removes any ambiguity about how to call it. No further parameter meaning is needed or possible here.

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 (the NYSE trading calendar) and enumerates exactly what it returns: 2026/2027 closure and early-close tables, trading-day counts, a today card, and the next trading day/holiday/early close. That is far more specific than the bare name. It stops short of naming near-neighbours such as market-open or next-federal-holiday, so the agent must infer the boundary itself.

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 only implied: an agent can read that this is the place for NYSE closures, early closes and session hours. There is no explicit when-to-use versus when-not, and no mention of siblings like next-federal-holiday or market-open, which overlap in subject matter. Adequate but leaves the routing decision to inference.

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