Skip to main content
Glama

list_contract_deadlines

Read-only

What lapses when, across all contracts, earliest first. Optional: contract_id, status (default open), kind, due_within_days (default 90), include_past (default true — a deadline that has already passed is the one worth seeing), limit. Every row says whether it was derived from the term or entered by hand, and carries its evidence.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_contract_deadlines"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOnly deadlines of this kind, e.g. notice, renewal, review, payment, expiry
limitNoMaximum number of entries to return
statusNoOnly entries with this status
contract_idNoID of the contract
include_pastNoAlso include past
due_within_daysNoOnly deadlines due within this many days (default 90)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / contract_id / description
      Added value: +"ID of the contract"
    • addedInput schema / properties / due_within_days / description
      Added value: +"Only deadlines due within this many days (default 90)"
    • addedInput schema / properties / include_past / description
      Added value: +"Also include past"
    • addedInput schema / properties / kind / description
      Added value: +"Only deadlines of this kind, e.g. notice, renewal, review, payment, expiry"
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of entries to return"
    • addedInput schema / properties / status / description
      Added value: +"Only entries with this status"
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already establish the safe read-only, closed-world profile, so the description's job is to add behavior, and it does so partially: sort order, default filters, and the fact that each row carries provenance (derived from term vs hand-entered) plus supporting evidence. It does not say anything about volume, truncation at limit, or what an empty result means.

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 compact sentences: the scope and ordering are front-loaded, then the optional parameters with their defaults, then the row shape. Nothing repeats the schema verbatim and no sentence is filler.

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 a six-parameter read-only list tool with no output schema, the description covers scope, ordering, defaults, and the returned row shape including provenance and evidence. The main gaps are pagination/limit interplay and how the tool relates to recalc_contract_deadlines, which matters if staleness affects what is listed.

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 would be 3, but the description adds genuine meaning the schema lacks: explicit defaults for status ('default open') and include_past ('default true'), which the schema leaves undocumented. It also explains why include_past exists, giving the agent a rationale for choosing its value.

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 'What lapses when, across all contracts, earliest first' communicates a specific verb (lapse/expire), resource (contract deadlines) and sort order. It is slightly abstract phrasing rather than a plain 'list X', and it never names a sibling such as list_deadlines, so an agent must infer the boundary itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the tool returns deadlines across all contracts and the defaults (status=open, 90-day window, include_past=true) loosely convey the intended default view. There is no explicit when-to-use versus when-not guidance and no mention of siblings like list_deadlines or recalc_contract_deadlines.

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.