Skip to main content
Glama

Contract Renewal and Notice Dates

contract_notice_dates
Read-onlyIdempotent

Work out a contract's term end dates, renewal dates and the last day to give notice of non-renewal. Send the start date, the initial term in months, whether it renews automatically, the renewal term, and the notice days (notice at least N days before the term ends, or before the renewal date). Optionally send as_of to see the current term, whether the notice window is still open and the next notice deadline, max_renewals if the contract caps them, and ny_gol_5_903 to get the window in which a provider of a New York service, maintenance or repair contract must send its reminder. Weekend notice deadlines are flagged with the Friday before as a safe send-by 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/contract-notice-dates). 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": {
      "start_date": "<start_date>",
      "initial_term_months": "<initial_term_months>",
      "auto_renews": "<auto_renews>"
    },
    "name": "contract_notice_dates"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoOptional date to check against (today, say), YYYY-MM-DD.
labelNoOptional label, e.g. 'copier lease' (your own text, echoed; not a party name).
start_dateYesFirst day of the contract's initial term, YYYY-MM-DD.
auto_renewsYestrue if the contract renews automatically unless notice is given; false if it simply ends.
notice_daysNoDays of notice needed to stop the renewal (for auto-renewing contracts). 'At least 60 days before' = 60.
max_renewalsNoOptional: the most renewal terms the contract allows (0 = none). Leave out if renewals are unlimited.
ny_gol_5_903Notrue to add the New York General Obligations Law 5-903 reminder window (service, maintenance or repair contracts for property; renewal terms over one month).
renewals_to_showNoHow many renewal terms to list after the first one shown (default 3, up to 40).
initial_term_monthsYesInitial term in months (12 for one year, 36 for three years).
notice_counted_fromNoterm_end (default): N days before the last day of the term. renewal_date: N days before the first day of the next term (one day later). Use the words of the contract.term_end
renewal_term_monthsNoEach renewal term in months (default: the same as the initial term).

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?

Well beyond the annotations, which already cover read-only/idempotent/non-destructive: the description discloses that it is free, uses no model and no network, stores nothing, signs every answer (with a verification URL), refuses labels containing emails, URLs or long digit runs, and returns ok=false with bad-input/too-large/hourly-limit reasons. It also flags weekend deadlines resolving to the preceding Friday, a genuine behavioral quirk.

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 purpose and the input walkthrough are front-loaded and efficient, but the tail is cluttered: a nine-field answer dump ('ok, verdict, result, rule, does_not, sources, observation, signature, verify') with no explanation is close to noise, and the compliance boilerplate ('Not legal, tax or financial advice') adds length without aiding invocation.

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?

For an 11-parameter, no-output-schema tool, the definition covers inputs, optional branches, failure modes, privacy, and signature verification, which is substantial. The gap is that the return fields are listed but never characterized, so an agent knows the names but not what verdict or does_not contain.

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 baseline is 3; the description earns a step up by restating notice_days and notice_counted_from in contract language ('notice at least N days before the term ends, or before the renewal date') and explaining what max_renewals and ny_gol_5_903 actually change in the answer. It still leaves renewals_to_show and label unaddressed in prose.

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?

The opening sentence names a specific verb+resource combination ('work out a contract's term end dates, renewal dates and the last day to give notice of non-renewal') that an agent can match to a task without opening the schema. It does not, however, differentiate itself from the sibling 'recurring_dates', which an agent might reasonably consider for similar date arithmetic.

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?

Usage context is clear: send the core contract facts, and optionally send as_of, max_renewals or ny_gol_5_903 under stated conditions ('Optionally send as_of to see the current term...'). What is missing is any explicit when-not or pointer to an alternative tool for non-contract date math.

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