Server definition
- Hash
- sha256:274f7b160f3269315b33ec29065f58cdd523f1129826547fb1fea35e10ea271c
- What it is
- What a remote MCP server returned when asked what it offers: 33 tools
The blob, as servednamed by its sha256
{
"instructions": null,
"tools": [
{
"description": "Compose a WHOLE Pro Workspace page instead of one tile: several tiles (published slugs and/or inline declarative specs) over one shared global AWW and date of accident, each with its own inputs, in a saved layout. Returns the page object plus a self-contained HTML file that renders it with the live workspace renderer — the same no-eval whitelisted evaluator, so the numbers are the workspace's numbers, not this API's. Code tiles are never auto-run. Nothing publishes: create the calculators in your sandbox and submit_for_review as usual. Statutory max/min come from the date of accident via calc-core and cannot be supplied.",
"inputSchema": {
"properties": {
"global": {
"properties": {
"aww": {
"type": "number"
},
"caseName": {
"type": "string"
},
"doi": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"tiles": {
"items": {
"properties": {
"authoring": {
"enum": [
"declarative",
"code"
],
"type": "string"
},
"id": {
"type": "string"
},
"inputs": {
"type": "object"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"spec": {
"type": "object"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"tiles"
],
"type": "object"
},
"name": "build_workspace_page",
"outputSchema": null
},
{
"description": "A schedule loss of use apportioned across two to six established claims of one claimant: each case uses its own AWW and date of accident (its own max and min) and its APPORTIONED loss of use for each member, with any protracted healing period, prior payments and credits; returns each case's award, 15% fee rounded down to $5 and net, and the totals. Cases are numbered; no names. New York State only. Computes with The Comp Desk calc-core (the engine behind the app, the website calculators and the Pro Workspace); it never estimates. If an input is missing it returns status \"missing\" with every input still needed and calculates nothing. Returns the figures, the rate year used, the formulas with their citations (each flagged with whether it has been attorney-reviewed), and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"cases": {
"items": {
"additionalProperties": false,
"properties": {
"aww": {
"description": "Average weekly wage before the injury, in dollars (gross).",
"type": "number"
},
"body_parts": {
"description": "Each scheduled member and its schedule loss of use percentage. Members: arm, hand, leg, foot, thumb, index/middle/ring/pinky finger, great toe, other toe, eye, one ear, both ears.",
"items": {
"additionalProperties": false,
"properties": {
"body_part": {
"type": "string"
},
"loss_percent": {
"description": "Loss of use percentage, 0–100 (50 means 50%).",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
}
},
"required": [
"body_part",
"loss_percent"
],
"type": "object"
},
"maxItems": 6,
"minItems": 1,
"type": "array"
},
"credits": {
"description": "Optional, dollar credits on this case.",
"minimum": 0,
"type": "number"
},
"date_of_accident": {
"description": "Date of accident (injury), YYYY-MM-DD. Only a full date the user gave; never a guessed one.",
"type": "string"
},
"prior_payments": {
"description": "Optional, dollars already paid on this case.",
"minimum": 0,
"type": "number"
},
"weeks_at_temporary_total": {
"minimum": 0,
"type": "number"
}
},
"required": [
"aww",
"date_of_accident",
"body_parts"
],
"type": "object"
},
"maxItems": 6,
"minItems": 2,
"type": "array"
}
},
"required": [
"cases"
],
"type": "object"
},
"name": "calculate_apportionment",
"outputSchema": null
},
{
"description": "The average weekly wage from earnings in the year before the accident: earnings_method \"steady\" (WCL §14(1)–(2): earnings ÷ days worked × 200/260/300 for a 4-/5-/6-day week, 365 for 7) or \"irregular\" for new, seasonal or irregular work (§14(3)–(4): earnings ÷ weeks worked). With a date of accident it also gives the weekly rate. New York State only. Computes with The Comp Desk calc-core (the engine behind the app, the website calculators and the Pro Workspace); it never estimates. If an input is missing it returns status \"missing\" with every input still needed and calculates nothing. Returns the figures, the rate year used, the formulas with their citations (each flagged with whether it has been attorney-reviewed), and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"date_of_accident": {
"description": "Optional: adds the weekly rate.",
"type": "string"
},
"days_per_week": {
"description": "steady: days normally worked each week (1–4 use the 200 multiplier).",
"maximum": 7,
"minimum": 1,
"type": "integer"
},
"days_worked": {
"description": "steady: days actually worked in the period.",
"exclusiveMinimum": 0,
"type": "number"
},
"earnings_method": {
"enum": [
"steady",
"irregular"
],
"type": "string"
},
"total_earnings": {
"description": "Total gross earnings in the period, in dollars.",
"minimum": 0,
"type": "number"
},
"weeks_worked": {
"description": "irregular: weeks actually worked.",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"earnings_method",
"total_earnings"
],
"type": "object"
},
"name": "calculate_aww",
"outputSchema": null
},
{
"description": "The average weekly wage the way the Pro Workspace's global AWW works it out: earnings_method \"steady\" (earnings ÷ days worked × the 200/260/300/365 multiplier for a 4-/5-/6-/7-day week ÷ 52) or \"irregular\" (earnings ÷ weeks worked), plus weekly tips, the weekly value of board, and a concurrent employer's weekly wage. With a date of accident it adds the two-thirds weekly rate within the max and min. For a 1–3 day week use calculate_aww. New York State only. Computes with The Comp Desk calc-core, the same engine as the app and the Pro Workspace; it never estimates. A missing input returns status \"missing\" and nothing is calculated. Returns the figures, the steps with the rule and engine function behind each, and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"concurrent_weekly_wage": {
"description": "Optional: weekly wage from a concurrent employer, in dollars.",
"minimum": 0,
"type": "number"
},
"date_of_accident": {
"description": "Optional: adds the weekly rate. YYYY-MM-DD.",
"type": "string"
},
"days_per_week": {
"description": "steady: days normally worked each week.",
"enum": [
4,
5,
6,
7
],
"type": "integer"
},
"days_worked": {
"description": "steady: days actually worked in the period.",
"exclusiveMinimum": 0,
"type": "number"
},
"earnings_method": {
"enum": [
"steady",
"irregular"
],
"type": "string"
},
"total_earnings": {
"description": "Gross earnings in the period, in dollars.",
"minimum": 0,
"type": "number"
},
"weekly_board": {
"description": "Optional: weekly value of board/lodging, in dollars.",
"minimum": 0,
"type": "number"
},
"weekly_tips": {
"description": "Optional: weekly tips, in dollars.",
"minimum": 0,
"type": "number"
},
"weeks_worked": {
"description": "irregular: weeks actually worked.",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"earnings_method",
"total_earnings"
],
"type": "object"
},
"name": "calculate_aww_with_adjustments",
"outputSchema": null
},
{
"description": "Weeks between dates the way The Comp Desk's CCP / Award calculator counts them: both end dates count; a period that starts the day the previous one ended counts that day once; a period held in abeyance counts no weeks; weeks rounded down to none / tenth / whole. Returns per period the inclusive days, exact and rounded weeks, whether the shared boundary day was dropped, and the next day after the end. Dates only, no money. New York State only. Computes with The Comp Desk calc-core, the same engine as the app and the Pro Workspace; it never estimates. A missing input returns status \"missing\" and nothing is calculated. Returns the figures, the steps with the rule and engine function behind each, and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"periods": {
"items": {
"additionalProperties": false,
"properties": {
"end_date": {
"description": "Last day. YYYY-MM-DD.",
"type": "string"
},
"held_in_abeyance": {
"type": "boolean"
},
"start_date": {
"description": "First day. YYYY-MM-DD.",
"type": "string"
}
},
"required": [
"start_date",
"end_date"
],
"type": "object"
},
"maxItems": 24,
"minItems": 1,
"type": "array"
},
"weeks_rounding": {
"description": "Optional; default none.",
"enum": [
"none",
"tenth",
"whole"
],
"type": "string"
}
},
"required": [
"periods"
],
"type": "object"
},
"name": "calculate_benefit_weeks",
"outputSchema": null
},
{
"description": "The carrier's equitable share of litigation costs on its workers' compensation lien when a third-party action recovers (WCL §29; Kelly; Burns): gross lien (indemnity + medical), the cost-share rate (attorney fee + disbursements ÷ gross recovery), the carrier's share and the net to the plaintiff. For a motor-vehicle case, give the no-fault threshold that comes off the lien first. New York State only. Computes with The Comp Desk calc-core (the engine behind the app, the website calculators and the Pro Workspace); it never estimates. If an input is missing it returns status \"missing\" with every input still needed and calculates nothing. Returns the figures, the rate year used, the formulas with their citations (each flagged with whether it has been attorney-reviewed), and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"attorney_fee": {
"description": "Third-party attorney fee, in dollars.",
"minimum": 0,
"type": "number"
},
"disbursements": {
"description": "Litigation disbursements, in dollars.",
"minimum": 0,
"type": "number"
},
"gross_recovery": {
"description": "Gross third-party recovery, in dollars.",
"exclusiveMinimum": 0,
"type": "number"
},
"indemnity_lien": {
"description": "Indemnity paid (lien), in dollars.",
"minimum": 0,
"type": "number"
},
"medical_lien": {
"description": "Medical paid (lien), in dollars.",
"minimum": 0,
"type": "number"
},
"motor_vehicle_threshold": {
"description": "Optional, motor-vehicle cases: the amount that comes off the lien first, in dollars.",
"minimum": 0,
"type": "number"
}
},
"required": [
"gross_recovery",
"indemnity_lien",
"medical_lien",
"attorney_fee",
"disbursements"
],
"type": "object"
},
"name": "calculate_burns_lien",
"outputSchema": null
},
{
"description": "What is owed for one or more benefit periods (types TT total, TP partial with a disability %, RE reduced earnings with weekly earnings), the way The Comp Desk's CCP/Award calculator works it out: weeks from the dates (both ends count; a period starting the day the last ended counts it once; weeks rounded down to the tenth by default), each period's rate within the max and min, and the total award. With prior_payments (0 if none) it adds the claimant's money, the 15% fee exact to the cent, the OC-400.1 amount rounded down to $5 and the net; an employer reimbursement out of the whole award is split as on SLU. New York State only. Computes with The Comp Desk calc-core (the engine behind the app, the website calculators and the Pro Workspace); it never estimates. If an input is missing it returns status \"missing\" with every input still needed and calculates nothing. Returns the figures, the rate year used, the formulas with their citations (each flagged with whether it has been attorney-reviewed), and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"aww": {
"description": "Average weekly wage before the injury, in dollars (gross).",
"type": "number"
},
"date_of_accident": {
"description": "Date of accident (injury), YYYY-MM-DD. Only a full date the user gave; never a guessed one.",
"type": "string"
},
"employer_reimbursement": {
"additionalProperties": false,
"description": "Optional employer reimbursement (REIMB ER) out of the award: { \"amount\": dollars } or { \"amount_unknown\": true } when it is still TBD. Needs prior_payments (0 if none).",
"properties": {
"amount": {
"exclusiveMinimum": 0,
"type": "number"
},
"amount_unknown": {
"type": "boolean"
}
},
"type": "object"
},
"periods": {
"items": {
"additionalProperties": false,
"properties": {
"current_weekly_earnings": {
"description": "RE only: weekly earnings during the period.",
"minimum": 0,
"type": "number"
},
"disability_percent": {
"description": "TP only: degree of disability, 0–100 (50 means 50%).",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
},
"end_date": {
"description": "YYYY-MM-DD",
"type": "string"
},
"start_date": {
"description": "YYYY-MM-DD",
"type": "string"
},
"type": {
"enum": [
"TT",
"TP",
"RE"
],
"type": "string"
}
},
"required": [
"type",
"start_date",
"end_date"
],
"type": "object"
},
"maxItems": 12,
"minItems": 1,
"type": "array"
},
"prior_counsel_fees": {
"description": "Optional. Dollar amount of the fee apportioned to each prior counsel (one or two). The current attorney gets the rest of the fee.",
"items": {
"minimum": 0,
"type": "number"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
},
"prior_payments": {
"description": "Optional: dollars already paid on these periods (0 if none). Adds the fee and net.",
"minimum": 0,
"type": "number"
},
"weeks_rounding": {
"description": "Optional; default tenth.",
"enum": [
"none",
"tenth",
"whole"
],
"type": "string"
}
},
"required": [
"aww",
"date_of_accident",
"periods"
],
"type": "object"
},
"name": "calculate_ccp_award",
"outputSchema": null
},
{
"description": "The full Pro Workspace CCP / Award engine: periods of type TT (total), RE (reduced earnings, with current weekly earnings), TR / TP (a disability percentage of two-thirds of the wage, or a typed weekly rate), NCLT / NME ($0) and HIA (held in abeyance, no weeks); weeks counted with both ends, the shared boundary day once, rounded down to none / tenth / whole (default tenth); each rate within the max and min for the date of accident (RE capped, never raised); an amending period paid at its rate less a prior percentage or prior weekly rate; already-paid periods kept in the award but out of the money moving and fee; employer reimbursements per period with scope \"period\", \"all\" or a \"specific\" date range (or amount unknown); the CCP fee (the weekly CCP amount ÷ 3); prior payments; and the prior-counsel split. Returns every period, the award, the exact fee, the OC-400.1 amount rounded down to $5 and both nets. calculate_ccp_award is the simpler TT/TP/RE version. New York State only. Computes with The Comp Desk calc-core, the same engine as the app and the Pro Workspace; it never estimates. A missing input returns status \"missing\" and nothing is calculated. Returns the figures, the steps with the rule and engine function behind each, and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"aww": {
"description": "Average weekly wage, in dollars.",
"exclusiveMinimum": 0,
"type": "number"
},
"ccp_weekly_amount": {
"description": "Optional: the weekly CCP amount; its fee is the amount ÷ 3.",
"minimum": 0,
"type": "number"
},
"date_of_accident": {
"description": "Date of accident. YYYY-MM-DD.",
"type": "string"
},
"periods": {
"items": {
"additionalProperties": false,
"properties": {
"already_paid": {
"description": "This period's award was already paid: kept in the award, out of the money moving and the fee.",
"type": "boolean"
},
"amending": {
"additionalProperties": false,
"description": "Amending a prior award for this period: the rate already set, as prior_percent (of two-thirds of the wage) or prior_weekly_rate.",
"properties": {
"prior_percent": {
"maximum": 100,
"minimum": 0,
"type": "number"
},
"prior_weekly_rate": {
"description": "Dollars.",
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"current_weekly_earnings": {
"description": "RE: weekly earnings during the period.",
"minimum": 0,
"type": "number"
},
"disability_percent": {
"description": "TR/TP: degree of disability, 0–100.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"employer_reimbursement": {
"additionalProperties": false,
"description": "An employer reimbursement claimed through this period.",
"properties": {
"amount": {
"exclusiveMinimum": 0,
"type": "number"
},
"amount_unknown": {
"type": "boolean"
},
"range_end": {
"description": "scope specific. YYYY-MM-DD.",
"type": "string"
},
"range_start": {
"description": "scope specific. YYYY-MM-DD.",
"type": "string"
},
"scope": {
"description": "period (default): this period; all: the whole award; specific: range_start to range_end.",
"enum": [
"period",
"all",
"specific"
],
"type": "string"
}
},
"type": "object"
},
"end_date": {
"description": "Last day. YYYY-MM-DD.",
"type": "string"
},
"start_date": {
"description": "First day. YYYY-MM-DD.",
"type": "string"
},
"type": {
"enum": [
"TT",
"RE",
"TR",
"TP",
"NCLT",
"NME",
"HIA"
],
"type": "string"
},
"weekly_rate": {
"description": "TR/TP instead of a percentage: the weekly rate, in dollars.",
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"start_date",
"end_date"
],
"type": "object"
},
"maxItems": 24,
"minItems": 1,
"type": "array"
},
"prior_counsel_fees": {
"description": "Optional: each prior counsel's dollar share of the fee.",
"items": {
"minimum": 0,
"type": "number"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
},
"prior_payments": {
"description": "Optional: dollars already paid on these periods.",
"minimum": 0,
"type": "number"
},
"weeks_rounding": {
"description": "Optional; default tenth.",
"enum": [
"none",
"tenth",
"whole"
],
"type": "string"
}
},
"required": [
"aww",
"date_of_accident",
"periods"
],
"type": "object"
},
"name": "calculate_ccp_award_detailed",
"outputSchema": null
},
{
"description": "Divides an attorney fee between the current attorney and one or two prior counsel the way every Comp Desk tile does: each prior counsel gets the dollar amount given, the current attorney the rest, worked in whole cents; prior amounts above the fee are flagged as over-allocated (nothing can be requested). Also gives the OC-400.1 amount: the current attorney's share rounded down to the nearest $5. The fee the Board approves can differ. New York State only. Computes with The Comp Desk calc-core, the same engine as the app and the Pro Workspace; it never estimates. A missing input returns status \"missing\" and nothing is calculated. Returns the figures, the steps with the rule and engine function behind each, and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"prior_counsel_fees": {
"description": "Dollar amount of the fee apportioned to each prior counsel (one or two).",
"items": {
"minimum": 0,
"type": "number"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
},
"total_fee": {
"description": "The total attorney fee, in dollars (for example the fee a calculator returned).",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"total_fee",
"prior_counsel_fees"
],
"type": "object"
},
"name": "calculate_fee_split",
"outputSchema": null
},
{
"description": "A permanent partial disability (non-schedule) award from a loss of wage-earning capacity percentage: the weekly rate (the bounded two-thirds rate × the LWEC %, kept within the max and min), the number of weeks for that LWEC bracket (§15(3)(w): 225 to 525 weeks depending on the bracket), the award, and, with the weeks of temporary benefits already paid, the credit for weeks beyond 130. New York State only. Computes with The Comp Desk calc-core (the engine behind the app, the website calculators and the Pro Workspace); it never estimates. If an input is missing it returns status \"missing\" with every input still needed and calculates nothing. Returns the figures, the rate year used, the formulas with their citations (each flagged with whether it has been attorney-reviewed), and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"aww": {
"description": "Average weekly wage before the injury, in dollars (gross).",
"type": "number"
},
"date_of_accident": {
"description": "Date of accident (injury), YYYY-MM-DD. Only a full date the user gave; never a guessed one.",
"type": "string"
},
"lwec_percent": {
"description": "Loss of wage-earning capacity, 0–100 (50 means 50%).",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
},
"prior_temporary_weeks": {
"description": "Optional: weeks of temporary benefits already paid (for the 130-week credit).",
"minimum": 0,
"type": "number"
}
},
"required": [
"aww",
"date_of_accident",
"lwec_percent"
],
"type": "object"
},
"name": "calculate_lwec_award",
"outputSchema": null
},
{
"description": "How a Section 32 settlement divides: any Medicare set-aside comes off first, the attorney fee is 15% of the rest rounded down to $5, and the remainder is the claimant's net. Optional prior-counsel fee split (the OC-400.1 requests only the current attorney's share). The fee the Judge approves can differ. New York State only. Computes with The Comp Desk calc-core (the engine behind the app, the website calculators and the Pro Workspace); it never estimates. If an input is missing it returns status \"missing\" with every input still needed and calculates nothing. Returns the figures, the rate year used, the formulas with their citations (each flagged with whether it has been attorney-reviewed), and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"msa_amount": {
"description": "Optional: the Medicare set-aside, in dollars.",
"minimum": 0,
"type": "number"
},
"prior_counsel_fees": {
"description": "Optional. Dollar amount of the fee apportioned to each prior counsel (one or two). The current attorney gets the rest of the fee.",
"items": {
"minimum": 0,
"type": "number"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
},
"settlement_amount": {
"description": "The gross settlement, in dollars.",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"settlement_amount"
],
"type": "object"
},
"name": "calculate_section_32_split",
"outputSchema": null
},
{
"description": "A schedule loss of use award for one or more scheduled members: weeks on the schedule × loss of use % × the weekly rate for the date of accident, plus any protracted healing period credit (weeks at temporary total beyond the longest healing period, §15(4-a)). With prior_payments (0 if none) it adds the money moving, the 15% attorney fee rounded down to $5 (the OC-400.1 amount) and the net. With an employer reimbursement it splits the money and the fees between claimant and employer, exact to the cent; the fee on the reimbursement comes from the claimant's money when it is enough. Optional prior-counsel fee split. No 130-week credit on SLU. New York State only. Computes with The Comp Desk calc-core (the engine behind the app, the website calculators and the Pro Workspace); it never estimates. If an input is missing it returns status \"missing\" with every input still needed and calculates nothing. Returns the figures, the rate year used, the formulas with their citations (each flagged with whether it has been attorney-reviewed), and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"aww": {
"description": "Average weekly wage before the injury, in dollars (gross).",
"type": "number"
},
"body_parts": {
"description": "Each scheduled member and its schedule loss of use percentage. Members: arm, hand, leg, foot, thumb, index/middle/ring/pinky finger, great toe, other toe, eye, one ear, both ears.",
"items": {
"additionalProperties": false,
"properties": {
"body_part": {
"type": "string"
},
"loss_percent": {
"description": "Loss of use percentage, 0–100 (50 means 50%).",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
}
},
"required": [
"body_part",
"loss_percent"
],
"type": "object"
},
"maxItems": 6,
"minItems": 1,
"type": "array"
},
"date_of_accident": {
"description": "Date of accident (injury), YYYY-MM-DD. Only a full date the user gave; never a guessed one.",
"type": "string"
},
"employer_reimbursement": {
"additionalProperties": false,
"description": "Optional employer reimbursement (REIMB ER) out of the award: { \"amount\": dollars } or { \"amount_unknown\": true } when it is still TBD. Needs prior_payments (0 if none).",
"properties": {
"amount": {
"exclusiveMinimum": 0,
"type": "number"
},
"amount_unknown": {
"type": "boolean"
}
},
"type": "object"
},
"prior_counsel_fees": {
"description": "Optional. Dollar amount of the fee apportioned to each prior counsel (one or two). The current attorney gets the rest of the fee.",
"items": {
"minimum": 0,
"type": "number"
},
"maxItems": 2,
"minItems": 1,
"type": "array"
},
"prior_payments": {
"description": "Optional: dollars of this award already paid (0 if none). Adds the fee and net.",
"minimum": 0,
"type": "number"
},
"weeks_at_temporary_total": {
"description": "Optional: weeks paid at temporary total, for the protracted healing period credit.",
"minimum": 0,
"type": "number"
}
},
"required": [
"aww",
"date_of_accident",
"body_parts"
],
"type": "object"
},
"name": "calculate_slu_award",
"outputSchema": null
},
{
"description": "The schedule loss of use percentage for a shoulder, hip or knee replacement on its own scoring track (2018 NY Impairment Guidelines Tables 5.5 / 6.5 / 7.5, as the app's engine encodes them): the base, plus the value that most closely matches the deficit in each column (range of motion, position, atrophy, chronic complications), up to the table maximum. A failed replacement is reported as not schedulable. Shoulder takes flexion/abduction; hip takes flexion, leg-length discrepancy, mal-rotation, hip_fracture; knee takes flexion, extension contracture, malalignment, ML laxity, AP motion, leg length. New York State only. Computes with The Comp Desk calc-core, the same engine as the app and the Pro Workspace; it never estimates. A missing input returns status \"missing\" and nothing is calculated. Returns the figures, the steps with the rule and engine function behind each, and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"abduction_degrees": {
"description": "Shoulder: abduction, degrees.",
"minimum": 0,
"type": "number"
},
"ap_motion_mm": {
"description": "Knee: anterior-posterior motion, millimetres.",
"minimum": 0,
"type": "number"
},
"atrophy_inches": {
"description": "Atrophy, inches (mid-arm for the shoulder, mid-thigh for hip/knee).",
"minimum": 0,
"type": "number"
},
"chronic_complications": {
"type": "boolean"
},
"extension_contracture_degrees": {
"description": "Knee: extension contracture (flexion deformity), degrees.",
"minimum": 0,
"type": "number"
},
"failed": {
"description": "The replacement failed (not schedulable).",
"type": "boolean"
},
"flexion_degrees": {
"description": "Flexion, degrees.",
"minimum": 0,
"type": "number"
},
"hip_fracture": {
"description": "Hip: the replacement followed a fracture.",
"type": "boolean"
},
"joint": {
"enum": [
"Shoulder",
"Hip",
"Knee"
],
"type": "string"
},
"leg_length_discrepancy_inches": {
"description": "Hip or knee: leg-length discrepancy, inches.",
"minimum": 0,
"type": "number"
},
"mal_rotation_degrees": {
"description": "Hip: mal-rotation, degrees.",
"minimum": 0,
"type": "number"
},
"malalignment_degrees": {
"description": "Knee: malalignment, degrees.",
"minimum": 0,
"type": "number"
},
"ml_laxity_degrees": {
"description": "Knee: medial-lateral laxity, degrees.",
"minimum": 0,
"type": "number"
},
"months_post_op": {
"description": "Months since the replacement (the engine warns under its minimum).",
"minimum": 0,
"type": "number"
}
},
"required": [
"joint"
],
"type": "object"
},
"name": "calculate_slu_joint_replacement",
"outputSchema": null
},
{
"description": "A schedule loss of use percentage range from measured range of motion, scored by the app's SLU range-of-motion engine (2018 NY Impairment Guidelines): each joint's deficit by severity band with proportional adjustment, the paired-motion rule (both_motions), the ankylosis cap for the body part, an optional special consideration (added or stand-alone, as the engine marks it), an optional contralateral baseline, and the shoulder muscle-atrophy finding. Joints per body part: Thumb IP/MCP/CMC (CMC is the opposition grade 1–3), Finger DIP/PIP/MCP, Wrist Palmar Flex/Dorsi Flex/Pron/Sup, Elbow Extension/Flexion, Shoulder Forward Flexion/Abduction/Int Rotation/Ext Rotation/Adduction/Post Extension, Hip Abduction/Adduction/Int Rotation/Ext Rotation/Flexion/Post Extension, Knee Flexion/Extension, Ankle/Foot Plantar Flex/Dorsi Flex/Inversion/Eversion, Great Toe IP/MTP Flex/MTP Ext, Smaller Toes DIP/PIP/MTP. Returns a percentage, not an award: pass the percentage to calculate_slu_award. New York State only. Computes with The Comp Desk calc-core, the same engine as the app and the Pro Workspace; it never estimates. A missing input returns status \"missing\" and nothing is calculated. Returns the figures, the steps with the rule and engine function behind each, and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"body_part": {
"enum": [
"Thumb",
"Finger",
"Wrist",
"Elbow",
"Shoulder",
"Hip",
"Knee",
"Ankle/Foot",
"Great Toe",
"Smaller Toes"
],
"type": "string"
},
"both_motions": {
"description": "Optional: joints whose paired motion (extension, supination) is also deficient, so the higher figure applies.",
"items": {
"type": "string"
},
"type": "array"
},
"contralateral": {
"additionalProperties": {
"type": "number"
},
"description": "Optional: joint name → the uninjured side's degrees, used as the baseline.",
"type": "object"
},
"measurements": {
"additionalProperties": {
"type": "number"
},
"description": "Joint name → measured degrees (Thumb CMC: opposition grade 1, 2 or 3). Joint names exactly as listed in the description.",
"type": "object"
},
"shoulder_muscle_atrophy": {
"description": "Optional, shoulder: a muscle-atrophy finding (gates the marked-rotation add).",
"type": "boolean"
},
"special_consideration": {
"description": "Optional: a special consideration label exactly as the engine lists it for this body part (an invalid label returns the allowed list).",
"type": "string"
}
},
"required": [
"body_part",
"measurements"
],
"type": "object"
},
"name": "calculate_slu_percent_from_rom",
"outputSchema": null
},
{
"description": "A weekly benefit rate under the NY Workers' Compensation Law: kind \"total\" (temporary total: two-thirds of the AWW within the max and min for the date of accident; a wage below the minimum is paid in full), \"partial\" (temporary partial at a degree of disability, with the same bounds) or \"reduced_earnings\" (two-thirds of the wage loss, capped at the max, never raised to the min). New York State only. Computes with The Comp Desk calc-core (the engine behind the app, the website calculators and the Pro Workspace); it never estimates. If an input is missing it returns status \"missing\" with every input still needed and calculates nothing. Returns the figures, the rate year used, the formulas with their citations (each flagged with whether it has been attorney-reviewed), and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"aww": {
"description": "Average weekly wage before the injury, in dollars (gross).",
"type": "number"
},
"current_weekly_earnings": {
"description": "kind \"reduced_earnings\": gross weekly earnings now, in dollars.",
"minimum": 0,
"type": "number"
},
"date_of_accident": {
"description": "Date of accident (injury), YYYY-MM-DD. Only a full date the user gave; never a guessed one.",
"type": "string"
},
"disability_percent": {
"description": "kind \"partial\": degree of partial disability, 0–100 (50 means 50%).",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
},
"kind": {
"enum": [
"total",
"partial",
"reduced_earnings"
],
"type": "string"
}
},
"required": [
"kind",
"aww",
"date_of_accident"
],
"type": "object"
},
"name": "calculate_weekly_rate",
"outputSchema": null
},
{
"description": "Create a draft calculator in your sandbox (declarative spec or reviewed code tile).",
"inputSchema": {
"properties": {
"authoring": {
"enum": [
"declarative",
"code"
],
"type": "string"
},
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"spec": {
"type": "object"
},
"tier": {
"enum": [
"free",
"pro",
"firm"
],
"type": "string"
}
},
"required": [
"name",
"slug"
],
"type": "object"
},
"name": "create_calculator",
"outputSchema": null
},
{
"description": "Create a draft skill (SKILL.md bundle) in your sandbox. Skills must be self-sufficient: they cannot assume the attorney has a case-management system. A skill that needs external data (e.g. a claimant's wages) must drive the browser Claude is connected to — open the source like the WCB eCase portal, have the user log in, and fetch the document (e.g. the C-240) itself — or read the attorney's local files, or ask the user.",
"inputSchema": {
"properties": {
"name": {
"type": "string"
},
"skill_md": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"name",
"slug"
],
"type": "object"
},
"name": "create_skill",
"outputSchema": null
},
{
"description": "Copy an approved published calculator into your sandbox as a new draft to improve. Give the slug (or id) of the published calculator; optionally new_name / new_slug.",
"inputSchema": {
"properties": {
"id": {
"type": "string"
},
"new_name": {
"type": "string"
},
"new_slug": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"type": "object"
},
"name": "fork_calculator",
"outputSchema": null
},
{
"description": "Fill an OC-400.1 (Application for Fee by Claimant's Attorney) from computed award numbers and return it as an UNSIGNED PDF, through the same field map the Pro Workspace fills. It will NOT accept a signature and will NOT fill any attorney-identity field (Representative ID, firm, address, phone) — those are completed in the workspace by the attorney whose fee it is. It reads nothing from the database and does no fee math: pass feeRequestedDollar, or pass feeRequested and it is floored to the nearest $5 by the same rule the workspace uses. Owner-restricted. The result is a DRAFT, not a filing: check every figure against the tile it came from.",
"inputSchema": {
"properties": {
"claimantName": {
"type": "string"
},
"currentRole": {
"enum": [
"current",
"substituted"
],
"type": "string"
},
"dateRetained": {
"type": "string"
},
"dateSubmitted": {
"type": "string"
},
"deathBenefits": {
"type": "boolean"
},
"feeEquation": {
"type": "string"
},
"feeReasons": {
"items": {
"type": "string"
},
"type": "array"
},
"feeRequested": {
"type": "number"
},
"feeRequestedDollar": {
"type": "string"
},
"include_pdf": {
"type": "boolean"
},
"otherFees": {
"enum": [
"yes",
"no",
"na"
],
"type": "string"
},
"otherReasonChecked": {
"type": "boolean"
},
"otherReasonText": {
"type": "string"
},
"priorRetained": {
"enum": [
"yes",
"no"
],
"type": "string"
},
"servedNotice": {
"enum": [
"yes",
"no",
"na"
],
"type": "string"
},
"wcbNumber": {
"type": "string"
}
},
"type": "object"
},
"name": "generate_fee_app",
"outputSchema": null
},
{
"description": "Return a starter declarative calculator spec to fill in.",
"inputSchema": {
"properties": {},
"type": "object"
},
"name": "get_calculator_template",
"outputSchema": null
},
{
"description": "The real NYS WC formula catalog behind the Comp Desk calculators: algebraic form, symbol table (what every symbol means), plain-language explanation, statutory/case citation, and a per-entry verified flag. Served from the SAME module the Pro Workspace shows, so the API and the app cannot disagree. Filter by id, by group (aww, rate, slu, lwec, perm, settle, fee), or by a free-text term; omit everything for the whole catalog. An entry with verified:false has NOT been through legal review — never present its citation as settled law.",
"inputSchema": {
"properties": {
"group": {
"enum": [
"aww",
"rate",
"slu",
"lwec",
"perm",
"settle",
"fee"
],
"type": "string"
},
"id": {
"type": "string"
},
"q": {
"type": "string"
}
},
"type": "object"
},
"name": "get_formula",
"outputSchema": null
},
{
"description": "The New York maximum and minimum weekly workers' compensation benefit for a date of accident (the rate year runs July 1 to June 30; the maximum is fixed by the date of accident, never by today's date). Use for \"what is the max rate for a 2025 injury\". New York State only. Computes with The Comp Desk calc-core (the engine behind the app, the website calculators and the Pro Workspace); it never estimates. If an input is missing it returns status \"missing\" with every input still needed and calculates nothing. Returns the figures, the rate year used, the formulas with their citations (each flagged with whether it has been attorney-reviewed), and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"date_of_accident": {
"description": "Date of accident (injury), YYYY-MM-DD. Only a full date the user gave; never a guessed one.",
"type": "string"
}
},
"required": [
"date_of_accident"
],
"type": "object"
},
"name": "get_max_min_rate",
"outputSchema": null
},
{
"description": "The date written notice of the injury to the employer is due under the NY Workers' Compensation Law, counted from the date of accident, or from the date of disablement for an occupational condition that built up over time, with the days left from today in New York and the statute it comes from. New York State only; not a substitute for checking the facts. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"date_of_accident": {
"description": "Date of accident (injury), YYYY-MM-DD. Only a full date the user gave; never a guessed one.",
"type": "string"
},
"date_of_disablement": {
"description": "For an occupational condition: date of disablement, YYYY-MM-DD.",
"type": "string"
}
},
"type": "object"
},
"name": "get_notice_deadline",
"outputSchema": null
},
{
"description": "The existing Comp Desk calculators (SLU, LWEC, CCP, AWW/concurrent employment, Burns, etc.): the calc-core function and statute behind each, the canonical source URL, and the ids of the formula-catalog entries that document each one. Start here, then call get_formula for the algebra. Use this to build on or improve an existing calculation instead of starting from scratch.",
"inputSchema": {
"properties": {},
"type": "object"
},
"name": "get_reference",
"outputSchema": null
},
{
"description": "Check the status (submitted/changes_requested/approved/rejected/published) of your submissions.",
"inputSchema": {
"properties": {
"ref_id": {
"type": "string"
},
"submission_id": {
"type": "string"
}
},
"type": "object"
},
"name": "get_review_status",
"outputSchema": null
},
{
"description": "List the calculators already approved and published into the Pro Workspace, so you can fork one as a starting point.",
"inputSchema": {
"properties": {},
"type": "object"
},
"name": "list_published",
"outputSchema": null
},
{
"description": "List your sandbox: calculators, skills, and recent submissions with their review status.",
"inputSchema": {
"properties": {},
"type": "object"
},
"name": "list_sandbox",
"outputSchema": null
},
{
"description": "Generate a self-contained HTML file that renders this calculator as a real tile (same look as the live workspace). Save the returned html and open it in your browser to test before submitting.",
"inputSchema": {
"properties": {
"authoring": {
"enum": [
"declarative",
"code"
],
"type": "string"
},
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"spec": {
"type": "object"
}
},
"type": "object"
},
"name": "preview_calculator",
"outputSchema": null
},
{
"description": "Return a valid, self-sufficient SKILL.md scaffold (autonomy: standalone + browser/local-files/user-input data sources + a no-backend fallback section) to start a new skill.",
"inputSchema": {
"properties": {},
"type": "object"
},
"name": "pull_skill_scaffold",
"outputSchema": null
},
{
"description": "The cervical or lumbar radiculopathy severity ranking, scored the way the Pro Workspace Radiculopathy tile scores it, from the 2012 NYS Impairment Guidelines tables as calc-core carries them: imaging 16, EMG 6, muscle weakness by grade (0–1: 20, 2: 18, 3: 6, 4–5: 0) plus atrophy 6 under the root's weakness cap, sensory (compromised 4, anesthesia 6) under the root's sensory cap, reflex (diminished 4, absent 6), tension signs 4; the letter from Table S11.7. Give the findings (unlisted findings count as normal / no), or instead total_points to rank a total already scored. A total with no row on Table S11.7 (1–3 points, or above the top row) is refused with the reason, never given a letter. Cervical roots C5–T1, lumbar L3–S1. New York State only. Computes with The Comp Desk calc-core, the same engine as the app and the Pro Workspace; it never estimates. A missing input returns status \"missing\" and nothing is calculated. Returns the figures, the steps with the rule and engine function behind each, and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"emg": {
"description": "EMG fibrillations / positive sharp waves in 2+ muscles of the root.",
"type": "boolean"
},
"imaging": {
"description": "Imaging shows nerve-root displacement or encroachment that correlates.",
"type": "boolean"
},
"muscle_atrophy": {
"type": "boolean"
},
"muscle_weakness_grade": {
"description": "Motor grade 0–5; default 5 (normal).",
"enum": [
0,
1,
2,
3,
4,
5
],
"type": "integer"
},
"nerve_root": {
"enum": [
"C5",
"C6",
"C7",
"C8",
"T1",
"L3",
"L4",
"L5",
"S1"
],
"type": "string"
},
"reflex": {
"enum": [
"normal",
"diminished",
"absent"
],
"type": "string"
},
"region": {
"enum": [
"cervical",
"lumbar"
],
"type": "string"
},
"sensory": {
"enum": [
"normal",
"compromised",
"anesthesia"
],
"type": "string"
},
"tension_signs": {
"description": "Spurling's, straight leg raise or femoral stretch positive.",
"type": "boolean"
},
"total_points": {
"description": "Instead of the findings: a total already scored, to rank.",
"minimum": 0,
"type": "number"
}
},
"required": [
"region"
],
"type": "object"
},
"name": "rank_radiculopathy",
"outputSchema": null
},
{
"description": "Submit a sandbox calculator or skill to the owner for review. Nothing publishes without approval. Skills are gated by the Self-Sufficiency Contract — a backend-dependent skill is rejected at submit AND at approval; run validate_build first and fix any self_sufficient failures.",
"inputSchema": {
"properties": {
"kind": {
"enum": [
"calculator",
"skill"
],
"type": "string"
},
"notes": {
"type": "string"
},
"ref_id": {
"type": "string"
}
},
"required": [
"kind",
"ref_id"
],
"type": "object"
},
"name": "submit_for_review",
"outputSchema": null
},
{
"description": "Update one of your draft calculators by id.",
"inputSchema": {
"properties": {
"authoring": {
"type": "string"
},
"code": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"spec": {
"type": "object"
},
"tier": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "update_calculator",
"outputSchema": null
},
{
"description": "Validate a calculator spec or a skill SKILL.md before submitting. For skills this also runs the Self-Sufficiency Contract: the skill must complete its task with NO case-management backend — declare \"autonomy: standalone\", name a no-backend data source (browser / local-files / user-input), and document the fallback in a heading. Returns errors/warnings + self_sufficient.",
"inputSchema": {
"properties": {
"kind": {
"enum": [
"calculator",
"skill"
],
"type": "string"
},
"skill_md": {
"type": "string"
},
"spec": {
"type": "object"
}
},
"type": "object"
},
"name": "validate_build",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:274f7b160f3269315b33ec29065f58cdd523f1129826547fb1fea35e10ea271c | sha256sum