Skip to main content
Glama

time_deadline

Read-only

Deadline calculator (business or calendar days) — Due date N business days or calendar days from a start date (or before it, with negative N). Business mode skips weekends, US federal holidays (observed) and your own closure dates; calendar mode rolls a weekend or holiday due date to the next or previous business day. Returns the due date, weekday, any roll and why, and the weekends, holidays and business days in between. Optional mode=calendar, roll=next|previous|none, closed=YYYY-MM-DD,YYYY-MM-DD. Pure computation. 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": {
      "start": "<start>",
      "days": "<days>"
    },
    "name": "time_deadline"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesnumber of days, negative counts backward
startYesYYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=true, destructiveHint=false, openWorldHint=true), the description discloses that business mode honors your own closure dates, that rolling can go next or previous, that the response enumerates weekends, holidays and business days in between, and that calls cost $0.002 USDC via x402 — non-obvious operational context an agent would otherwise not know. Minor tension: it calls itself 'Pure computation' while openWorldHint is true, though the x402 payment network plausibly explains that flag.

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 the core operation, then mode behavior, then return contents, then the option syntax and price — a sensible order with no filler. It is dense (long clause-chained opening sentence and a compact options list), but nearly every clause carries distinct information.

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 correctly spells out what is returned (due date, weekday, roll and reason, intervening weekends/holidays/business days) and covers holiday handling, closures and cost. What it leaves unstated is error/precondition behavior, the timezone or region assumption behind 'US federal holidays (observed)', and the fact that the optional parameters exist outside the input schema.

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?

Schema coverage is 100% for the two required fields, but the schema itself omits the optional mode, roll and closed parameters that the description documents — so the description carries real value by defining mode=calendar, roll=next|previous|none, closed=YYYY-MM-DD lists, and negative days semantics. The gap is that these options appear only in prose, not in the schema, so an agent relying on schema validation may miss them.

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?

States a specific verb+resource ('Deadline calculator') and immediately defines the operation: a due date N business or calendar days from a start date, including negative N for backward counting. An agent can distinguish it from sibling counters like time_business_days because the output is a single computed due date, not a count.

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 clearly lays out the two operating modes (business vs calendar) and the conditions that select one, e.g. business mode skips weekends/US federal holidays/your closure dates while calendar mode rolls a weekend or holiday due date. It does not explicitly exclude or route to named siblings such as time_business_days or time_date_math, so it stops short of full when-not guidance.

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