Skip to main content
Glama
plainfold-calendars-mcp

plainfold-calendars-mcp

Official
by plainfoldhq

is_business_day

Read-onlyIdempotent

Check whether a given date is a business or trading day for a selected calendar, returning holiday closures and early-close times for NYSE and exchange calendars.

Instructions

Is date (YYYY-MM-DD) a business/trading day on calendar? Returns the holiday name if closed and the early-close time (HH:MM) for NYSE and exchanges.

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": {
      "calendar": "<calendar>",
      "date": "<date>"
    },
    "name": "is_business_day"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
calendarYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint, and closed-world scope, so safety behavior is covered structurally. The description adds return semantics—holiday name if closed and early-close time for NYSE/exchanges—which helps the agent interpret results beyond the annotations, though it does not discuss calendar coverage or exceptions in depth.

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?

Two compact sentences with no filler; the core question comes first and the return detail follows. Every clause carries operational meaning.

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 simple two-parameter predicate with an output schema and safety annotations, this is nearly complete: it explains the query and special return cases. The main missing piece is documented calendar values, which matters for correct invocation but is partly mitigated by the existence of list_calendars.

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

Parameters2/5

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

Schema coverage is 0%, so the description carries the burden for both parameters. It specifies the date format YYYY-MM-DD, which is useful, but never explains what values 'calendar' accepts (e.g., NYSE, exchange codes) or whether it is an exchange calendar identifier; the mention of NYSE/exchanges is only a hint.

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 opens with a direct yes/no predicate over date and calendar, making the operation unmistakable. That predicate framing separates it from sibling computation tools like next_business_day and business_days_between, which produce dates or counts rather than a boolean check.

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

Usage Guidelines4/5

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

It gives clear context for use: checking whether a specific date is a business/trading day on a calendar, including the useful closed/early-close return detail. It does not explicitly say when to prefer it over siblings such as holidays or list_calendars, but the question form makes the intended use reasonably clear.

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