Skip to main content
Glama

Deadline After Service (Your Rule's Days, Mail Days, Rollover)

docket_days_rule
Read-onlyIdempotent

Count a deadline that runs a number of days after service, using the numbers your court rule or statute states (state court, agency, arbitration, or a court order). Send the service date, the period in days (calendar or court days), the days your rule adds for the service method (mail, electronic, overnight), whether those days are added after the period's last day has been moved off a weekend or holiday (the federal Rule 6(d) way) or counted on together with the period before any move, and the holidays your court closes on. U.S. federal holidays (on their observed days) are built in and can be turned off. Get back the deadline, its weekday, every day skipped and why, and each step of the count. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/docket-days-rule). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.

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": {
      "service_date": "<service_date>",
      "days": "<days>"
    },
    "name": "docket_days_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesThe period your rule states, in days (10, 14, 20, 21, 30 ...).
labelNoOptional label, e.g. 'response to motion' (your own text, echoed; not a party name).
count_inNocalendar_days (default): every day counts. court_days: only days that are not a Saturday, Sunday or holiday count.calendar_days
holidaysNoOther days your court is closed or your rule calls holidays (state holidays, the day after Thanksgiving, closures), YYYY-MM-DD (up to 60).
rolloverNoforward (default): a last day on a Saturday, Sunday or holiday moves to the next day that is not one. none: no move (only if your rule says so).forward
added_daysNoDays your rule adds for how the paper was served (for example 3 under the federal rule for mail; your state's number for mail or electronic service). 0 if none.
rule_citedNoOptional: the rule you are applying, e.g. 'Tex. R. Civ. P. 21a' (your own text, echoed; it is not read or checked).
service_dateYesDate of service (the day that starts the count; it is not counted), YYYY-MM-DD.
added_count_inNoWhether the added days are calendar_days (default) or court_days, as your rule says.calendar_days
added_days_whenNoafter_rollover (default; Fed. R. Civ. P. 6(d)): find the period's deadline first, moving it off a weekend or holiday, then add the days. with_period: add the days straight on from the period's last day, then move the result once.after_rollover
us_federal_holidaysNoCount the 11 U.S. federal holidays, on the days federal offices observe them, as holidays (default true). Set false for a court that does not close on them, and send its holidays instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld=false, and the description adds substantial context beyond that: free, no model, no network, no stored input, signed answers with a verification URL, and error behavior (ok false for bad input, too large, hourly limit). It also discloses refusal rules for labels, which is useful behavioral detail.

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 core instruction is one sprawling sentence that packs service date, period, added days, timing mode, and holidays into a single clause chain, which hurts readability. The verbose enumeration of answer fields and signature/URL details is justified only because there is no output schema, but the structure could be front-loaded more cleanly.

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

Completeness5/5

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

For an 11-parameter tool with no output schema, the description covers inputs, return fields (ok, verdict, result, rule, does_not, sources, observation, signature, verify), error cases, and safety guarantees. Nothing essential to calling it correctly appears missing.

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 already 100%, so baseline is 3, but the description adds real conceptual meaning: it explains the distinction between added days applied after rollover (Rule 6(d)) versus counted with the period, and clarifies that built-in federal holidays can be disabled. This goes beyond the schema text for the trickiest parameter.

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: 'Count a deadline that runs a number of days after service' and scopes it to state court, agency, arbitration, or court orders. However, it never names or contrasts with sibling deadline tools (e.g. frcp_deadline, business_days_calculator), so an agent must infer which one to pick.

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 gives clear usage context: deadlines computed from a specific court rule/statute with added service-method days and rollover. It does not, however, state when NOT to use it or which sibling to use instead (e.g. for federal Rule 6(a) computation), leaving that to inference.

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