Skip to main content
Glama

DMD Costs legal costs tools

Detailed assessment deadline calculator (CPR Part 47)

calculate_detailed_assessment_deadlines
Read-onlyIdempotent

Works out the CPR Part 47 detailed assessment timetable in England and Wales from the dates you have: the last day to serve the notice of commencement (N252), Points of Dispute, the first day for a default costs certificate (N254), Replies, the request for an assessment hearing (N258), provisional assessment steps and payment. Allows for deemed service, weekends, bank holidays and court office closures. Give at least the right to costs (its kind and date).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hearingDateNoThe date of the detailed assessment hearing, if one is listed (YYYY-MM-DD).
hearingEndedNoThe date the detailed assessment hearing ended, if it has (YYYY-MM-DD).
noticeServedNoThe date the notice of commencement was served (deemed service), if it has been (YYYY-MM-DD).
pointsServedNoThe date Points of Dispute were served, if they have been (YYYY-MM-DD).
certificateDateNoThe date of the final or interim costs certificate, if issued (YYYY-MM-DD).
rightToCostsDateYesThe date of that judgment, order or event (YYYY-MM-DD).
rightToCostsKindYesWhat gave the right to costs: "judgment" (Judgment or order), "stay-lifted" (Stay lifted after appeal), "discontinuance-served" (Discontinuance served), "discontinuance-upheld" (Discontinuance upheld), "part-36-accepted" (Part 36 offer accepted).
provisionalReceivedNoThe date the provisional assessment was received, if there was one (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, yet the description adds real behavioral context: it accounts for deemed service, weekends, bank holidays and court office closures, and it enumerates the outputs computed. That goes meaningfully beyond the structured fields.

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?

Three sentences, front-loaded with the purpose and jurisdiction before the output enumeration and the input requirement. The deadline list is dense but earns its place by conveying what the tool returns in the absence of an output schema.

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 multi-input calculator with no output schema, the description adequately conveys what is computed (the enumerated deadlines) and what is required, plus jurisdiction and the holiday/closure handling. Minor gaps remain around any failure modes or edge-case behavior, but nothing essential for invoking it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3 and the schema already documents every date parameter and the rightToCostsKind enum. The description only reinforces the minimum required inputs ('right to costs, its kind and date'), adding marginal meaning beyond the schema.

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 (works out) and a tightly scoped resource (the CPR Part 47 detailed assessment timetable in England and Wales), then enumerates the concrete deadlines produced (N252, Points of Dispute, N254, Replies, N258, provisional assessment, payment). This domain specificity distinguishes it from the generic calculate_cpr_deadline sibling, though it never names a sibling to avoid.

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?

It implies when to use it (when you have assessment dates and need the timetable) and states a minimum input requirement ('Give at least the right to costs'). But it offers no explicit when-not guidance and no routing against the many sibling calculators, leaving selection to inference.

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