Skip to main content
Glama

Qanun: Tunisian law

Get a Tunisian legal text

get_text
Read-only

Get metadata and the list of articles of a Tunisian law or code (500 per page; use offset to paginate). Obtenir les métadonnées et la liste des articles d'une loi ou d'un code tunisien (500 par page ; paginer avec offset).

Input Schema

NameRequiredDescriptionDefault
offsetNo
text_idYesText id, e.g. "code/coc" or "loi-organique/2016-22"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds the 500-per-page limit and pagination behavior, which the annotations do not convey, but it says nothing about output shape (e.g., whether articles come as stubs or full text) or what happens on an unknown text_id.

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?

The content is front-loaded and short, with the pagination hint in a parenthetical. The full bilingual duplication doubles the text for no informational gain, which is the only waste, but it is the same statement repeated rather than padding.

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 tool with no output schema, the description covers purpose, scope, and pagination adequately. The remaining gap is that it doesn't characterize the return payload (metadata fields, article granularity), which would matter for a list of up to 500 articles.

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 coverage is 50%: text_id is documented with concrete examples ("code/coc", "loi-organique/2016-22"), while offset has only type and default. The description compensates for offset by explaining the 500-per-page page size, but adds no id format guidance beyond the schema. Baseline 3 fits.

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 names a specific verb and resource — retrieving metadata plus the article list for a Tunisian law or code — and its scope is distinguishable from siblings like get_article (single article) and search_law (searching). An agent can tell what it returns without opening the schema.

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 pagination clause implies when to use offset (for texts longer than 500 articles), which is useful operational guidance. However, it never states when to prefer this tool over search_law or how it relates to get_article, so sibling routing is left to inference.

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