Skip to main content
Glama

چیستارا — Iranian Legal Corpus

محاسبهٔ حق‌الثبت — Calculate registration duty

calculate_stamp_duty
Read-onlyIdempotent

Calculate حق‌الثبت (registration duty) for property, vehicle, company, marriage and divorce documents. Distinct from حق‌التحریر (the notary's own fee — use calculate_notary_fee for that).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tx_typeYesTransaction/document type.
amount_tomanNoTransaction amount in Toman (for rate-based types).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds no behavioral detail beyond calculation scope, which is acceptable but not additive.

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 concise sentences with the core purpose front-loaded and the differentiator placed second. Every sentence earns its place, with no filler or repetition.

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 a simple two-parameter read-only calculation tool with robust annotations and a documented enum, the description is largely sufficient. A small gap remains: the listed document types omit schema values like mortgage, power_attorney, and will, and the amount_toman dependency is not fully explained.

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%, so the baseline is 3. The description lists some transaction categories present in the tx_type enum but does not clarify which transaction types require amount_toman or how rate-based calculations vary. It does not add meaningful value beyond the schema.

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?

The description uses a specific verb 'Calculate' and a specific resource 'حق‌الثبت (registration duty)', then immediately distinguishes it from حق‌التحریر/notary fee. This makes the tool's purpose and its difference from calculate_notary_fee immediately clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly names the alternative tool calculate_notary_fee and gives a clear when-not: use that for the notary's own fee. The stated scope of document types also makes it obvious when this tool is the right choice among the many sibling calculators.

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