Skip to main content
Glama

چیستارا — Iranian Legal Corpus

محاسبهٔ نیم‌عشر اجرایی — Calculate judgment execution fee

calculate_execution_fee
Read-onlyIdempotent

Calculate نیم‌عشر اجرایی (the state execution fee on a civil judgment): 5% of the judgment sum (Civil Judgments Enforcement Act art. 158), half on settlement and none if complied with within ten days of service of the writ (art. 160), 10% of three months' rent for an eviction (art. 159), the 1405 budget-table range for a non-financial judgment, and the Dispute Settlement Council's art. 27 exemptions for a settlement report.

Input Schema

NameRequiredDescriptionDefault
kindYesmoney = financial judgment; eviction = lease eviction; non_financial = non-financial or un-valued; shora_settlement = Dispute Settlement Council settlement report.
timingNoCourt judgment: complied after ten days of service of the writ (default), within ten days, or the parties settled (half).
amount_tomanNoJudgment sum in Toman (money, shora_settlement).
shora_timingNoSettlement report: before the execution order (exempt), within a month of the notice (half), later.
monthly_rent_tomanNoMonthly rent in Toman (eviction).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/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 bar is low; the description goes further by disclosing the actual computation behavior (5% of the judgment sum, half on settlement, zero if complied within ten days, 10% of three months' rent). It stops short of stating rounding, currency output, or result format.

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 definition and the rate before any caveats, and every clause carries a distinct rule. It is, however, one very long compound sentence whose nested statutory clauses would be easier to scan as a short list.

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?

Given five parameters, one required, no nesting, and annotations that already cover the safety profile, the description supplies the substantive legal context an agent needs to choose `kind` and `timing` correctly. The remaining gap is that no output schema exists, yet the description never indicates the shape or currency of the returned fee.

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 description coverage is 100%, so the baseline is 3; the description adds genuine meaning by explaining what each branch costs rather than just naming the enum values (e.g. eviction = 10% of three months' rent, shora_settlement = art. 27 exemptions). It does not spell out the exact timing/shora_timing semantics beyond what the schema already says.

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 (Calculate) and a precise, named resource (نیم‌عشر اجرایی / state execution fee on a civil judgment), then enumerates the exact statutory bases (art. 158, 159, 160, art. 27). This is clearly distinguishable from siblings such as calculate_arbitration_fee, calculate_litigation_fee, and calculate_stamp_duty.

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?

The description implicitly tells the agent which branch applies by tying each rate to a factual scenario (money judgment, eviction, non-financial, Shora settlement), which is enough to pick a value of `kind`. However it never states when to prefer this tool over the neighboring fee calculators, nor any exclusions or prerequisites.

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