محاسبهٔ حقالوکاله — Calculate lawyer fee (bar tariff)
calculate_lawyer_feeCalculate حقالوکاله from آییننامهٔ تعرفهٔ حقالوکاله (1398/12/28): financial claims are a marginal ladder on the claim value (art. 9); family, non-financial, criminal and administrative matters are a min–max RANGE independent of value (arts. 13, 14, 20). stage is art. 21's share of the whole-case fee (60% first instance / 40% appeal). The tariff does not scale by winning or losing. Never guess a lawyer's statutory fee.
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": {
"stage": "<stage>"
},
"name": "calculate_lawyer_fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | Yes | first = 60%, appeal = 40%, cassation = on the appeal tariff (arts. 16–17). | |
| outcome | No | How the case ends (default judgment). Settlement is paid in full (art. 23); art. 12 halves or quarters a fee for قرار رد / ابطال. | |
| case_type | No | civil = financial claim (art. 9); family = family/حسبی (art. 13a); non_financial (art. 13b); criminal (art. 14, needs criminal_grade); admin = دیوان عدالت اداری / تعزیرات (art. 20); board = non-judicial boards e.g. labour (art. 20). | |
| membership | No | bar = Bar Association member (fund 50% + bar 25% of the stamp); center = مرکز وکلا member (5% of the fee) — bylaw art. 29. | |
| criminal_grade | No | Criminal only: court (کیفری یک / دو) and offence grade. | |
| case_value_toman | No | Claim value in Toman — civil only. | |
| contract_fee_toman | No | Fee written in the power of attorney, in Toman — for the 5% tax stamp (Direct Taxes Act art. 103), which is never below the tariff floor. | |
| final_at_first_instance | No | Civil only: first-instance judgment is final as to value ⇒ flat 10% (art. 9 opening). |