Skip to main content
Glama

FMF Tools Dev Utils

time_business_days

Business days: add or count ($0.001 per call, paid via MPP on Tempo). Count working days between two dates or add/subtract N business days, with custom weekend (default Sat/Sun) and a holiday list you pass. Returns the result date and the skipped holidays/weekends. Duo Data charges $0.05. HTTP POST https://mpp-utils.fmf-x402.workers.dev/time/business-days. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": {
      "start": "<start>"
    },
    "name": "time_business_days"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNobusiness days to add (negative to subtract)
endNoYYYY-MM-DD (count mode)
startYesYYYY-MM-DD
weekendNo0=Sun..6=Sat (default [0,6])
holidaysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 does well: it discloses per-call pricing ($0.001 via MPP on Tempo), the underlying HTTP endpoint, and crucially that the MCP wrapper will not settle payment on its own. It also states what is returned (result date plus skipped holidays/weekends). It omits error/failure behavior and any rate-limit or auth-token acquisition detail, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and mode explanation are front-loaded and useful, but the pricing treatment is muddled — it states both "$0.001 per call, paid via MPP on Tempo" and "Duo Data charges $0.05" without reconciling them, which creates ambiguity rather than clarity. The raw HTTP URL and the two-sentence payment settlement caveat add length that could be compressed.

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?

There is no output schema, and the description compensates by describing the return payload (result date, skipped holidays/weekends). It also surfaces the non-obvious payment/authorization model that an agent must handle before calling. The remaining gap is the mechanics of obtaining an MPP Payment Authorization header, which is named but not explained.

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 80%, so the schema already documents start/end/add/weekend/holidays including formats and defaults. The description adds mode-level meaning (start+end implies count; add implies arithmetic) and confirms the weekend default and user-supplied holiday list, but introduces no syntax or edge-case detail beyond the schema. Baseline 3 is appropriate.

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?

Opens with a specific verb+resource pair ("Business days: add or count") and immediately enumerates both operating modes: counting working days between two dates, or adding/subtracting N business days. This is clearly distinguishable from the sibling date/time utilities (time_convert, time_cron, time_rrule) because it names the business-day semantics explicitly.

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?

The description tells the agent how to choose a mode (count between two dates vs. add N days) and states a real prerequisite for invocation: the wrapper does not settle payment itself, so an MPP Payment Authorization header is required, or the agent should use mppx against the HTTP route. It stops short of explicit exclusions (e.g., when to prefer time_convert instead), so it is not a 5.

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