Skip to main content
Glama

A2A Defense & Monetization Gateway

compute_us_procedural_deadline

Deterministic calculation of US federal and state procedural deadlines (FRCP Rule 6, FRAP Rule 26, California CCP, New York CPLR, Texas TRCP, Florida). Excludes Day 0, counts continuous calendar days, applies mailbox/service extensions, and rolls terminal days to next accessible court day.

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": {
      "trigger_date": "<trigger_date>",
      "period_days": "<period_days>"
    },
    "name": "compute_us_procedural_deadline"
  }
}

Input Schema

NameRequiredDescriptionDefault
court_ruleNoFRCP_6
period_daysYesPeriod in days to compute
jurisdictionNoFEDERAL
trigger_dateYesTrigger date of event or service (YYYY-MM-DD)
court_timezoneNoAmerica/New_York
service_methodNoELECTRONIC

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

With zero annotations, the description carries the full burden and does disclose genuine computation semantics: excludes Day 0, counts continuous calendar days, applies mailbox/service extensions, and rolls terminal days to the next accessible court day. These are non-obvious behaviors an agent could not guess from the schema. It stops short of disclosing the result shape or whether holiday calendars and weekend-only closures are fully modeled.

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 purpose and followed by a dense list of behavioral rules; every clause (Day 0 exclusion, calendar-day counting, service extensions, terminal-day roll) carries distinct information with no filler.

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?

For a six-parameter legal computation with no annotations and no output schema, the definition covers the mechanics reasonably but leaves the agent unsure of the return values and of the jurisdiction/rule precedence (e.g., California jurisdiction combined with FRCP_6, or STATE_DEFAULT). Those gaps matter for correct invocation of a deadline tool where a wrong result is costly.

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?

At 33% schema coverage the description must compensate, and it partially does: 'mailbox/service extensions' maps to service_method, 'rolls terminal days to next accessible court day' relates to court_timezone, and the rule list maps to court_rule and jurisdiction enums. However, it never explains what the 'STATE_DEFAULT' enum value means, how jurisdiction and court_rule interact when they disagree, or what period_days counts relative to Day 0.

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?

States a specific verb and resource ('Deterministic calculation of US federal and state procedural deadlines') and enumerates the exact rule sets covered (FRCP 6, FRAP 26, CCP, CPLR, TRCP, Florida). It does not distinguish itself from the sibling 'compute_procedural_deadline', whose name is nearly identical, leaving the agent to infer that this one is the US-specific variant.

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?

No when-to-use or when-not-to-use guidance is given, and the near-duplicate sibling 'compute_procedural_deadline' is never mentioned or excluded. The only implicit signal is that the enumerated rule sets scope it to US jurisdictions; there are no prerequisites, no caveats about when the output should be reviewed by counsel, and no routing advice.

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