Skip to main content
Glama

Retention Schedule Destroy-By Dates

retention_schedule_dates
Read-onlyIdempotent

Work out, for each record class in a company's own retention schedule, the date it must be kept through and the first day it may be destroyed. Send each class with its creation date and the retention years (and months) the schedule says, and optionally a date to check against (as_of), whether the count starts at the creation date, the end of that month or the end of that year, and whether the class is permanent or on legal hold. Get back, for every class, the keep-through date, the earliest destruction date and, if you sent as_of, whether it is still to be kept, eligible for destruction, on hold or permanent, with the days left. The retention years are yours: the tool does not know what the law requires. 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/retention-schedule-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": {
      "records": "<records>"
    },
    "name": "retention_schedule_dates"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoOptional: the date to check each class against (usually today), YYYY-MM-DD.
recordsYesRecord classes with creation date and retention period (1 to 200).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, and the description still adds material facts: the tool is free, uses no model or network, stores nothing sent, enforces an hourly limit, returns signed answers verifiable at a stated URL, refuses emails/URLs/long digit runs, and gives errors as ok=false with a reason. It also disclaims legal/tax/financial advice, which matters for a compliance-flavored tool.

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?

Purpose and required inputs are front-loaded in the first two sentences, then output, errors, cost, privacy and signature details follow. The listing of answer fields and error classes is dense but earns its place because there is no output schema. A few clauses (the signature/verify pointer, the labels restriction) could be tightened without loss.

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?

With no output schema, the description carries the return contract itself: keep-through date, earliest destruction date, and the verdict plus days left when as_of is supplied. Combined with error behavior, the hourly limit, the no-storage guarantee and the not-advice disclaimer, an agent has everything needed to call it and interpret the response.

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 baseline is 3, but the description adds genuine meaning: retention years are the caller's own, the tool does not know what the law requires, and permanent versus legal hold change how dates are worked rather than suppressing them. It also frames as_of as a check date and the start_from choices as where the count begins, which sharpens the schema's enum labels.

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 description states a specific verb and resource: compute, per record class in a company's own retention schedule, the keep-through date and the first destroyable date. That is far more precise than the title alone. It stops short of naming a sibling such as record_retention to contrast against, so an agent must infer the boundary from the wording.

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?

It spells out the inputs to send (creation date, retention years/months), when as_of is optional and what it buys, and how to use permanent and legal_hold. What is missing is any explicit when-not guidance or named alternative for overlapping retention tools, so the agent gets context but no routing rules.

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