Skip to main content
Glama

Dadras — Iranian law (دادرس)

Lawyer's power-of-attorney stamp duty (تمبر وکالت)

calculate_stamp_duty
Read-onlyIdempotent

The tax stamp on a وکالت‌نامه (مادهٔ ۱۰۳ قانون مالیات‌های مستقیم) and the fund and Bar shares paid with it, for one stage of one case. Call it for any question about what a lawyer pays to file a وکالت‌نامه, and never work the figure out yourself. Amounts in rial; dates in the Jalali calendar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stageNoA civil matter is first, appeal, supreme or enforcement. A criminal one is prosecution (دادسرا), first, appeal, order_objection (اعتراض به قرار) or cassation.
case_kindYesfamily covers امور حسبی and the financial claims of a marriage — mehrieh and نفقه are family, not financial. non_judicial is a هیأت such as قانون کار.
membershipNobar is کانون وکلای دادگستری, markaz is مرکز وکلا؛ they owe different shares. bar when not said.
criminal_bandNoWhich band the gravest charge falls in. court1 is کیفری یک، نظامی یک و انقلاب; court2 is کیفری دو، نظامی دو و اطفال.
extra_chargesNoCharges beyond the gravest one, in a criminal case.
claim_amount_rialNoبهای خواسته, in ریال. Only a financial claim has one.
contract_fee_rialNoThe حق‌الوکاله written in the وکالت‌نامه, in ریال. Left out, the stamp is computed on the tariff for that stage, which is also its floor.
government_clientNoThe client is a ministry, a state company or a شهرداری.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely useful operating context beyond that: what is being computed (stamp + fund + Bar shares), the scope limitation (one stage, one case), and the units ('Amounts in rial; dates in the Jalali calendar').

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with what is computed, with no filler. The legal citation and unit conventions are packed into the same breath as the purpose.

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?

For an 8-parameter, enum-heavy read-only calculator with full schema coverage, the description tells the agent what the result comprises and in which units, so nothing essential for a correct call is missing. A brief note on the return shape (since no output schema exists) would have made it complete.

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%, and the parameter descriptions themselves carry the domain nuance (defaults for membership, contract_fee floor, criminal band mapping). The description adds only the rial/Jalali unit convention and the single-stage scope, so the baseline 3 applies.

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?

Names a specific verb-resource pair (the tax stamp on a وکالت‌نامه plus fund and Bar shares), cites its legal basis (مادهٔ ۱۰۳), and fixes the scope to 'one stage of one case.' An agent can distinguish this from the sibling calculators (calculate_mehrieh, calculate_late_payment) purely from the description.

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?

'Call it for any question about what a lawyer pays to file a وکالت‌نامه, and never work the figure out yourself' gives explicit when-to-use guidance and steers the agent away from self-computation. It does not, however, mention when a different calculator is the right one (e.g. mehrieh or late-payment questions that may also touch a وکالت‌نامه).

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