Skip to main content
Glama

Dadras — Iranian law (دادرس)

Run a Dadras legal calculator

run_calculator
Read-onlyIdempotent

Run one calculator from list_calculators: slug plus values keyed by the field ids it lists. Returns the result, its breakdown, the reference figures used and their legal basis. Never work these figures out yourself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
valuesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavioral context by explaining that it returns the result, breakdown, reference figures, and legal basis, though it omits error or edge-case behavior.

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?

Three tight sentences: purpose and inputs first, then return contents, then a clear directive. Nothing is wasted and the most important information is front-loaded.

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?

With no output schema, the description usefully describes the return shape. Given nested values, it clarifies how keys work. It is nearly complete, though error handling and validation expectations are left implicit.

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 0%, so the description must compensate. It explains that 'slug' comes from list_calculators and that 'values' are keyed by the field ids the calculator lists, adding essential meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Run one calculator from list_calculators.' It clearly positions the tool as the generic calculator runner and explains the required inputs, but it does not explicitly differentiate itself from the specific calculate_* sibling tools.

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?

It tells the agent to get a calculator from list_calculators and gives a strong directive: 'Never work these figures out yourself.' That is useful usage context, but it does not name alternatives such as calculate_late_payment or describe when not to use this generic runner.

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