Skip to main content
Glama

LLPRO Legal Deadlines

Settlement split (fee, costs, liens, net to client)

settlement_split
Read-onlyIdempotent

Do the arithmetic of a contingent-fee settlement closing statement. Send the gross settlement, the attorney fee percent, the case costs and the liens or other deductions (all amounts, no names). Get back the attorney fee, the net to the client, each line and the total deducted, the client's share of the gross in percent, and a flag when the deductions are more than the settlement. It is arithmetic only, not legal advice: the signed fee agreement controls how the fee is figured. 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/settlement-split). 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": {
      "gross_settlement": "<gross_settlement>",
      "fee_percent": "<fee_percent>"
    },
    "name": "settlement_split"
  }
}

Input Schema

NameRequiredDescriptionDefault
costsNoCase costs and expenses advanced (default 0).
labelNoOptional label (your own text, up to 6 digits in a row; echoed).
liensNoLiens, medical reimbursements and other deductions paid out of the settlement (default 0).
fee_percentYesAttorney fee percent from the fee agreement, 0 to 100 (up to 4 decimals).
gross_settlementYesGross settlement amount (dollars and cents).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive; the description adds substantial context beyond them: hourly rate limit surfaced through the error list, no model/network, nothing stored, and every answer signed with a key verifiable at a stated URL. It also discloses input restrictions (email addresses, URLs, long digit runs refused) that an agent would otherwise hit as a surprise failure.

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 purpose, then inputs, outputs, errors, privacy, and disclaimer in a logical order with no filler. The bare list of answer field names ("ok, verdict, result, rule, does_not, sources, observation, signature, verify") is cryptic and reads as boilerplate, slightly diluting an otherwise tight definition.

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?

With no output schema, the description carries the return-value burden and does so by naming each computed output plus the over-deduction flag and an error contract. Remaining gaps are minor but real: rounding/precision of the computed fee and the meaning of opaque fields like "rule" and "does_not" are not explained.

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 meaning the schema lacks: amounts only with "no names," and the label rule that emails, web addresses and long digit runs are refused. It does not explain rounding or precision behavior for fee_percent, which keeps it below 5.

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?

Opens with a specific verb and resource: "Do the arithmetic of a contingent-fee settlement closing statement," and immediately states the inputs and outputs (fee, net to client, deductions, percent share). No sibling in the catalog performs settlement arithmetic, and the description makes that scope unmistakable.

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?

Tells the agent exactly what to send (gross settlement, fee percent, costs, liens) and frames the boundary: "arithmetic only, not legal advice" and "the signed fee agreement controls how the fee is figured." It does not name an alternative tool or an explicit when-not-to-use case, so it stops short of a 5.

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