Skip to main content
Glama

LLPRO Legal Deadlines

Federal Prompt Payment Deadlines and Interest

federal_prompt_pay_deadline
Read-onlyIdempotent

Work out when a US federal agency must pay a contractor under the Prompt Payment Act, and the late-payment interest if it paid late. Payment types: supplies_services_invoice (30 days after a proper invoice, with the 7-day constructive-acceptance rule), construction_progress (14 days after a proper progress payment request), construction_retainage (30 days after the contracting officer approves release), construction_final (the later of 30 days after the proper invoice and 30 days after acceptance, acceptance deemed on the 7th day after completion), and subcontractor (the prime pays its subcontractor within 7 days of being paid). Send the dates you have; get back the due date, the date payment may still be made without interest when the due date is a weekend or federal holiday, and, with paid_date, amount and the Treasury Prompt Payment rate you send, the days late and the interest (30-day compounding, 360-day year, at most one year). The live Treasury rate is not fetched: send the rate in effect on the day after the due date. 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/federal-prompt-pay-deadline). 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": {
      "payment_type": "<payment_type>"
    },
    "name": "federal_prompt_pay_deadline"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional label, e.g. 'pay app 7' (your own text, echoed; no contract or invoice numbers longer than 6 digits).
amountNoOptional, with paid_date: the amount paid late (the principal interest runs on).
acceptedNoDate the agency actually accepted the goods or work, YYYY-MM-DD (supplies_services_invoice, construction_final).
paid_dateNoOptional: date paid (check date, or EFT settlement date), YYYY-MM-DD. A date before the payment period starts is read as an early payment and said so.
prime_paidNoDate the prime contractor received the agency's payment that covers the subcontractor's work, YYYY-MM-DD (subcontractor).
payment_typeYessupplies_services_invoice, construction_progress, construction_retainage, construction_final or subcontractor.
invoice_receivedNoDate the designated billing office received the proper invoice or progress payment request, YYYY-MM-DD. If the office did not stamp a receipt date, send the date on the invoice (5 CFR 1315.4(b)(2)).
release_approvedNoDate the contracting officer approved release of retained amounts, YYYY-MM-DD (construction_retainage).
contract_due_dateNoOnly if the contract itself names the payment due date, YYYY-MM-DD; used as given, but never before the period starts, and for construction_progress only later than the 14th day (supplies_services_invoice, construction_progress, construction_retainage).
annual_rate_percentNoOptional, with paid_date and amount: the Treasury Prompt Payment interest rate in percent a year in effect on the day after the due date (4.75 for 4.75%). Not fetched; Treasury publishes it twice a year.
acceptance_period_daysNoOnly if the contract sets an acceptance period longer than 7 days: its length in days (supplies_services_invoice).
delivered_or_completedNoDate the goods were delivered or the work or services were completed, YYYY-MM-DD (supplies_services_invoice, construction_final).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/destructive/idempotent annotations: free, no model, no network, nothing stored, every answer cryptographically signed with a verification URL, and an explicit hourly limit with 'ok false' error behavior. It also discloses an input-restriction behavior (labels refusing emails, web addresses, long digit runs) that an agent could not infer from the 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?

Front-loaded with purpose and payment types, then moves to inputs, then outputs, then behavior and errors — a sensible order for a 12-parameter tool. It is dense with long parenthetical sentences, and the marketing-tinged run ('Free. No model, no network...') could be tightened, but almost every clause carries operational information.

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?

There is no output schema, and the description compensates by listing the answer fields (ok, verdict, result, rule, does_not, sources, observation, signature, verify) and the error shape. For a pure-computation tool with a complex statutory domain, nothing an agent needs to call it correctly or interpret the response is 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 100%, so 3 is the baseline, but the description adds cross-parameter meaning the schema cannot: which dates combine to produce interest (paid_date + amount + annual_rate_percent), 30-day compounding, 360-day year, capped at one year, and the crucial caveat that the rate must be the one in effect the day after the due date. It also explains the weekend/holiday 'paid without interest' output and the early-payment interpretation of paid_date.

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-plus-resource: computes when a US federal agency must pay a contractor under the Prompt Payment Act and the late-payment interest. It enumerates the five payment types it handles, which is enough for an agent to distinguish it from generic deadline tools like frcp_deadline or sla_deadline without opening the schema.

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?

Gives clear invocation guidance: 'Send the dates you have' and explicit conditional rules per payment type (7-day constructive acceptance, 30 days after acceptance, 7 days for subcontractor). It also states a prerequisite the agent must satisfy itself — supply the Treasury rate in effect the day after the due date, since it is not fetched. It does not explicitly name an alternative tool or when-not to use this one, so it falls short of 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