Skip to main content
Glama

add_contract_deadline

Destructive

Add a deadline that does not follow from the term — a rent review, an index adjustment, a payment date. Required: contract_id, title, due_on. Optional: kind, lead_days, evidence (the clause it comes from — a deadline without one is an assertion).

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": {
      "contract_id": "<contract_id>",
      "title": "<title>",
      "due_on": "<due_on>"
    },
    "name": "add_contract_deadline"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoKind of deadline, e.g. review, payment, renewal, notice or other
titleYesTitle of the contract deadline
due_onYesDue date of the deadline (ISO date)
evidenceNoThe contract clause the deadline comes from
lead_daysNoDays before due_on at which the deadline should be acted on
contract_idYesID of the contract

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_on / description
      Added value: +"Due date of the deadline (ISO date)"
    • addedInput schema / properties / evidence / description
      Added value: +"The contract clause the deadline comes from"
    • addedInput schema / properties / kind / description
      Added value: +"Kind of deadline, e.g. review, payment, renewal, notice or other"
    • addedInput schema / properties / lead_days / description
      Added value: +"Days before due_on at which the deadline should be acted on"
    • addedInput schema / properties / title / description
      Added value: +"Title of the contract deadline"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=true, idempotentHint=false), so the description is free to add a genuinely non-structured norm: evidence should almost always be supplied because 'a deadline without one is an assertion'. It still does not say what gets created/returned or that repeated calls will not be deduplicated.

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?

Two compact sentences with the scoping rule front-loaded and the parameter summary second. The em-dash parentheticals are dense but each carries real content; nothing is 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 6-parameter mutating tool with no output schema, the description covers required vs optional fields and the evidence norm, but leaves the return value undefined and does not warn that non-idempotent calls may produce duplicate deadlines. Adequate but with real gaps for an agent deciding how to call it.

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 the required/optional enumeration largely repeats structured data. However, the gloss on `evidence` as the source clause and the normative rationale behind it adds meaning the schema's neutral 'The contract clause the deadline comes from' does not convey.

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 ('Add a deadline') and scopes it precisely by excluding term-derived deadlines, with concrete examples (rent review, index adjustment, payment date). It does not name the sibling that handles term-derived deadlines, so the differentiation is only implicit.

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?

The clause 'does not follow from the term' is an effective selection criterion and implies other tooling covers term-derived deadlines, but no alternative (e.g. set_deadline, update_deadline) is named and there are no explicit when-not cases or prerequisites.

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.