Skip to main content
Glama

time_cutoff

Read-only

Cutoff-time checker: does it make today's processing? — Given a daily cutoff (HH:MM local) in an IANA time zone, says whether a submission made now (or at at=) beats today's cutoff, the effective processing date (rolling past weekends and US federal holidays), the next cutoff in local time and UTC, and a countdown in seconds. calendar=us (federal holidays with Sat->Fri / Sun->Mon observance, default), fed (Federal Reserve rules: Saturday holidays not observed) or none; weekends=true treats Sat/Sun as business days; days=N adds N business days after the processing date (e.g. settlement or ship date). Offline, deterministic. Use for payment, order, wire, shipping and support SLA cutoffs. Price: $0.002 USDC (Base, via x402).

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": {
      "cutoff": "<cutoff>",
      "tz": "<tz>"
    },
    "name": "time_cutoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzYese.g. America/New_York
cutoffYese.g. 17:00

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses holiday observance rules (Sat->Fri / Sun->Mon, Fed variant), the 'weekends=true' relaxation, the 'days=N' business-day offset used for settlement dates, and that the computation is offline and deterministic. It even discloses cost ($0.002 USDC via x402), which is operationally relevant information an agent cannot get from annotations or schema.

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 key capability is front-loaded in the opening clause, followed by outputs, option semantics, use cases, and price — a sensible order with no filler sentences. It is delivered as one very long run-on with terse shorthand ('us', 'fed', 'Sat->Fri') rather than being broken into scannable pieces, which costs some readability.

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?

With no output schema, the description usefully enumerates what is returned, and it covers the holiday/weekend logic that materially affects results. The main completeness defect is the mismatch between documented options and the two-parameter schema, which leaves the agent unsure which capabilities are actually callable.

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 100%, so a baseline of 3 would apply, but the description actively describes options that do not exist in the input schema: 'at=', 'calendar=us|fed|none', 'weekends=true', and 'days=N'. An agent reading this will attempt to pass those arguments and fail or silently lose behavior it was promised. The two real parameters (tz as IANA zone, cutoff as HH:MM local) are only illustrated by the schema examples, not elaborated in the description.

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 states a concrete question the tool answers ('does it make today's processing?') plus a specific verb/resource: evaluate a submission time against a daily HH:MM cutoff in an IANA zone. It also enumerates the outputs (effective processing date, next cutoff in local and UTC, countdown), which distinguishes it clearly from sibling helpers like time_business_days or time_deadline.

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?

'Use for payment, order, wire, shipping and support SLA cutoffs' gives explicit usage contexts, which is more than most sibling time tools offer. It stops short of saying when NOT to use it or naming an alternative (e.g. time_deadline for multi-day deadlines), so there is no routing guidance beyond the domain examples.

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