Skip to main content
Glama

Latest laws and regulations

rk_latest_laws
Read-onlyIdempotent

Lists recently published Iranian laws, rulings, and regulations from the Official Gazette, ordered from recent to older gazette dates, so you can identify items and retrieve full texts by code.

Instructions

List the newest laws, rulings and regulations published in the Official Gazette (rrk.ir), newest gazette first.

Each law has a code for rk_law_text. To narrow by topic or date use rk_search_laws.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rk_latest_laws"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 20 per page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / page / description
      Previous value: -"Page number, 20 laws per page."New value: +"Page number, 20 per page."
  2. First observedv0.1.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuine context beyond that: the ordering guarantee, the upstream source, and the presence of a `code` field for a follow-up call; it does not mention result volume or rate behavior, but those are minor for a read-only feed.

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 short sentences with zero filler; the primary behavior and its scope are front-loaded, and the alternative routing comes second where it belongs.

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 one-parameter read tool with no output schema, the description covers what the tool returns at a useful level (gazette entries, a `code` per law) and where to go next. A note on total result depth or how many pages typically exist would close the remaining gap.

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 single `page` parameter is already documented as 'Page number, 20 per page', including the maximum of 500. The description adds no parameter-level meaning beyond the schema, 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?

States a specific verb and resource (list the newest laws, rulings and regulations), names the source (Official Gazette, rrk.ir) and the ordering (newest first), which makes it immediately distinguishable from rk_search_laws.

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?

Explicitly routes the agent: use rk_search_laws to narrow by topic or date, use this tool for the unfiltered newest feed. It also hands off a downstream workflow by noting each law has a `code` for rk_law_text.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.