Skip to main content
Glama
plainfold-calendars-mcp

plainfold-calendars-mcp

Official
by plainfoldhq

business_days_between

Read-onlyIdempotent

Count business days between two dates for a specified calendar, with results clarifying whether the start and end dates are included.

Instructions

Count business days between two dates. Counting convention differs by calendar and is stated in the result (US calendars and currencies: start included, end excluded; exchanges: both included).

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>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "business_days_between"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes
calendarYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent and closed-world behavior, so the bar is lower. The description adds real value by disclosing that the counting convention is calendar-dependent and that the result states which convention was applied, with examples for US and exchange calendars; however it says nothing about how ambiguous inputs (weekends, holidays, reversed date order) are resolved.

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 sentences, front-loaded with the action, followed by the one non-obvious caveat. Every clause carries information; nothing is redundant with the schema or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the description need not explain return values, and the caveat about stated conventions covers the main correctness risk. Against that, a three-parameter tool with zero schema coverage leaves date format and calendar vocabulary entirely undocumented, which is a meaningful gap for an agent constructing the call.

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 description coverage is 0% and all three parameters (start, end, calendar) are bare strings with no format or allowed-value hints. The description does convey that 'calendar' changes the counting semantics rather than just a holiday set, plus two calendar families, but it never states the date string format or how calendar identifiers are formed.

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 gives a specific verb and resource: 'Count business days between two dates,' which is distinct in shape from additive siblings like add_business_days or single-date predicates like is_business_day. It does not explicitly name or contrast a sibling, so an agent infers the boundary rather than being told it.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no alternatives are named despite siblings that clearly overlap (add_business_days, next/previous_business_day). The second sentence describes counting behavior rather than routing guidance, so the agent must infer selection from the tool name alone.

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