Skip to main content
Glama

DMD Costs legal costs tools

Litigant in person costs calculator (CPR 46.5)

calculate_litigant_in_person_costs
Read-onlyIdempotent

Works out the costs a self-represented party can claim in the civil courts of England and Wales under CPR 46.5: £24 an hour for time spent on or after 1 October 2025 and £19 an hour before (PD 46 para 3.4), or proven financial loss; payments for legal services and expert help with the costs claim; disbursements; the two-thirds cap on everything except disbursements, checked only against your own figure for what a lawyer would have been allowed; the small claims track limits (CPR 27.14(2)); fixed recoverable costs (CPR 45.4); and who counts as a litigant in person. It never estimates what a lawyer would have been allowed, and the court decides the time reasonably spent.

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": {
      "who": "<who>"
    },
    "name": "calculate_litigant_in_person_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
whoYesWho is claiming the costs: "individual" (an individual acting for themselves), "company" (a company acting through a director or employee who is not its lawyer), "lawyer-outside" (a lawyer acting in person outside their own practice, e.g. an employed solicitor or a barrister), "lawyer-own-practice" (a solicitor acting through their own practice: a sole practitioner, a partner, or an LLP), "company-in-house" (a company acting through its in-house solicitor).
regimeNoWhat kind of claim: "general" (costs not fixed: multi-track, a fast track claim outside fixed recoverable costs, an application, or costs-only proceedings), "small-claims" (the small claims track), "frc" (fixed recoverable costs, CPR 45 Sections VI to VIII), "section-2" (fixed costs on issue, judgment or enforcement, CPR 45 Section II).
travelNo"small-claims": reasonable travel and overnight expenses, in pounds (e.g. "12500.50").
counselNoDirect-access counsel's fees actually paid, in pounds (e.g. "12500.50").
expertsNo"small-claims": experts' fees, one entry per expert (each capped at £750), each in pounds, e.g. ["120", "95.50"]. In a query string, leave out thousands separators.
earningsNo"small-claims": lost earnings, one entry per person per day (each capped at £95), each in pounds, e.g. ["120", "95.50"]. In a query string, leave out thousands separators.
courtFeesNo"small-claims": court fees paid, in pounds (e.g. "12500.50").
comparatorNoYour own figure for what a legal representative would have been allowed (for "frc", the fixed recoverable costs), to check the two-thirds cap, in pounds (e.g. "12500.50").
hoursAfterNoHours of your own time spent on or after 1 October 2025 (£24 an hour), in hours (e.g. "12.5" or "3:30").
injunctionNo"small-claims": the claim includes an injunction or specific performance.
provenLossNoFinancial loss you can prove for the time spent, instead of the hourly rate, in pounds (e.g. "12500.50").
costsExpertNoPaid for expert help with the costs claim, in pounds (e.g. "12500.50").
hoursBeforeNoHours of your own time spent before 1 October 2025 (£19 an hour), in hours (e.g. "12.5" or "3:30").
unreasonableNo"small-claims": the court found a party behaved unreasonably (CPR 27.14(2)(g)).
disbursementsNoOther disbursements: court fees, travel, witness and expert witness fees, in pounds (e.g. "12500.50").
legalServicesNoPaid for legal advice or help from a lawyer qualified in England and Wales, in pounds (e.g. "12500.50").
sameDayWitnessNoA witness allowance is claimed for a day also claimed as attendance time.
injunctionAdviceNo"small-claims" with injunction: paid for legal advice on that claim (capped at £260), in pounds (e.g. "12500.50").
costsExpertQualifiedNoThat expert is in a PD 46 para 3.1 class: a barrister, solicitor, FCILEx, FACL, or a costs draftsman in the Academy of Experts or the Expert Witness Institute.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • changedInput schema / properties / comparator / description
      Previous value: -"Your own figure for what a legal representative would have been allowed (for \"frc\", the fixed recoverable costs), to check the two-thirds cap, in pounds, e.g. \"12500\" or \"12,500.50\"."New value: +"Your own figure for what a legal representative would have been allowed (for \"frc\", the fixed recoverable costs), to check the two-thirds cap, in pounds (e.g. \"12500.50\")."
    • changedInput schema / properties / costsExpert / description
      Previous value: -"Paid for expert help with the costs claim, in pounds, e.g. \"12500\" or \"12,500.50\"."New value: +"Paid for expert help with the costs claim, in pounds (e.g. \"12500.50\")."
    • changedInput schema / properties / counsel / description
      Previous value: -"Direct-access counsel's fees actually paid, in pounds, e.g. \"12500\" or \"12,500.50\"."New value: +"Direct-access counsel's fees actually paid, in pounds (e.g. \"12500.50\")."
    • changedInput schema / properties / courtFees / description
      Previous value: -"\"small-claims\": court fees paid, in pounds, e.g. \"12500\" or \"12,500.50\"."New value: +"\"small-claims\": court fees paid, in pounds (e.g. \"12500.50\")."
    • changedInput schema / properties / disbursements / description
      Previous value: -"Other disbursements: court fees, travel, witness and expert witness fees, in pounds, e.g. \"12500\" or \"12,500.50\"."New value: +"Other disbursements: court fees, travel, witness and expert witness fees, in pounds (e.g. \"12500.50\")."
    • changedInput schema / properties / hoursAfter / description
      Previous value: -"Hours of your own time spent on or after 1 October 2025 (£24 an hour), as a number such as \"12.5\" or hours and minutes such as \"3:30\"."New value: +"Hours of your own time spent on or after 1 October 2025 (£24 an hour), in hours (e.g. \"12.5\" or \"3:30\")."
    • changedInput schema / properties / hoursBefore / description
      Previous value: -"Hours of your own time spent before 1 October 2025 (£19 an hour), as a number such as \"12.5\" or hours and minutes such as \"3:30\"."New value: +"Hours of your own time spent before 1 October 2025 (£19 an hour), in hours (e.g. \"12.5\" or \"3:30\")."
    • changedInput schema / properties / injunctionAdvice / description
      Previous value: -"\"small-claims\" with injunction: paid for legal advice on that claim (capped at £260), in pounds, e.g. \"12500\" or \"12,500.50\"."New value: +"\"small-claims\" with injunction: paid for legal advice on that claim (capped at £260), in pounds (e.g. \"12500.50\")."
    • changedInput schema / properties / legalServices / description
      Previous value: -"Paid for legal advice or help from a lawyer qualified in England and Wales, in pounds, e.g. \"12500\" or \"12,500.50\"."New value: +"Paid for legal advice or help from a lawyer qualified in England and Wales, in pounds (e.g. \"12500.50\")."
    • changedInput schema / properties / provenLoss / description
      Previous value: -"Financial loss you can prove for the time spent, instead of the hourly rate, in pounds, e.g. \"12500\" or \"12,500.50\"."New value: +"Financial loss you can prove for the time spent, instead of the hourly rate, in pounds (e.g. \"12500.50\")."
    • changedInput schema / properties / travel / description
      Previous value: -"\"small-claims\": reasonable travel and overnight expenses, in pounds, e.g. \"12500\" or \"12,500.50\"."New value: +"\"small-claims\": reasonable travel and overnight expenses, in pounds (e.g. \"12500.50\")."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds genuinely useful behaviour beyond that: the cap is checked only against the user's own comparator figure, it never estimates a lawyer's allowance, and the final time assessment is left to the court — setting correct expectations about the output's authority.

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?

Front-loaded with the tool's core function and rate figures, and every clause maps to a real capability. However, it is a single ~120-word run-on sentence enumerating clauses; slight restructuring into distinct points would improve scannability for an agent parsing conditional features.

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?

With 19 parameters, 100% schema coverage and rich annotations the input side is well covered, and the description scopes the legal computation accurately. But there is no output schema and the description says nothing about what the calculation returns (breakdown, totals, cap flag, warnings), which is a meaningful gap for a multi-branch calculator.

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 schema already explains all 19 parameters including the regime-conditional ones. The description reinforces the rate thresholds (£24/hour post-1 Oct 2025, £19 before) and that the two-thirds cap excludes disbursements, which subtly contextualises the disbursements and comparator inputs — but adds little beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (works out the costs a self-represented party can claim) with the governing rule (CPR 46.5, PD 46 para 3.4) and jurisdiction (civil courts of England and Wales). The enumerated coverage areas (hourly rates, two-thirds cap, small claims limits, FRC, eligibility) make clear this is the LiP-specific calculator, distinguishable from calculate_fixed_costs or check_small_claims_costs.

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 implied by the scope ('a self-represented party'), and the note that it never estimates what a lawyer would have been allowed signals when the comparator input is required. But there is no explicit when-to-use/when-not guidance and no routing against the overlapping siblings (check_small_claims_costs, calculate_fixed_costs, check_vat_on_costs) even though it partly covers their ground.

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