Skip to main content
Glama

UpGrowth: business data for Algeria, Tunisia and Morocco

Get an article of the tax codes of Algeria

get_tax_code_article
Read-only

Get one article of one of the six tax codes of Algeria in full, from the 2026 editions of the Direction générale des impôts: cidta, cpf, ctca, ce, cii or ct (search_tax_code says what each holds), by the number the code prints: 150, 282 quater, 300-3, 2 bis (Art., accents and case are ignored). Returns the code and its title, the edition, the link to the official PDF, the article id, its heading (part, title, chapter, section), its status (in_force, or abrogated: such an article holds only the word Abrogé), its text in French with the paragraphs on separate lines, its notes (the finance laws that created, amended or repealed it, as the code lists them) and the ids of the previous and the next article, and a citation line (code title, art., edition, link) to paste as the source. The text is the DGI's consolidated edition and the legal reference stays the Journal officiel: use get_jo_act to read a finance law that a note names. An unknown article is a not_found error that lists the nearest article numbers. Use it to read an article before quoting it, and name it by code and number (for example CTCA art. 21). Algeria only (country DZ); other countries return country_not_available.

Input Schema

NameRequiredDescriptionDefault
codeYesThe code: cidta (direct taxes and similar taxes), cpf (tax procedures), ctca (turnover taxes, VAT), ce (registration), cii (indirect taxes) or ct (stamp duty).
langNoLanguage of the labels, notes and attribution text in the answer: fr (French, the default), ar (Arabic) or en (English).fr
articleYesThe article number as the code prints it, for example 150, 282 quater, 300-3 or 2 bis (Art., accents and case are ignored).
countryNoCountry of the data, an ISO 3166-1 alpha-2 code in any letter case: DZ for Algeria, the default, TN for Tunisia or MA for Morocco. Only live countries answer: list_countries shows them and their datasets. Any other country, or a dataset the country does not have (for example the activity nomenclature for Morocco), returns country_not_available. Without an API key only DZ answers: TN and MA return key_required.DZ

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries the rest and does so richly: the full response shape (title, edition, PDF link, id, heading, status, text with line-broken paragraphs, notes, prev/next ids, citation line), the fact that abrogated articles contain only the word 'Abrogé', and the not_found error that lists nearest article numbers.

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?

Purpose and name are front-loaded in the first clause, and the long return-field enumeration is justified because no output schema exists. It is a single dense run-on paragraph, however, and the field list could be tightened without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four parameters, no output schema and no destructive behavior, the description still covers return values, error semantics, language/country constraints, sibling routing and the authoritative-source caveat (DGI edition vs Journal officiel). Nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so the baseline is 3; the description adds the article-number syntax tolerance ('Art., accents and case are ignored') with concrete examples (150, 282 quater, 300-3, 2 bis). It slightly conflicts with the schema on country handling — the description says other countries return country_not_available while the schema says TN/MA return key_required — which costs a point but does not obscure the practical constraint.

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: 'Get one article of one of the six tax codes of Algeria in full', and enumerates the exact code set (cidta, cpf, ctca, ce, cii, ct) with a pointer to search_tax_code for their meanings. An agent can distinguish it from search_tax_code and get_jo_act without opening any schema.

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?

Gives explicit when-to-use ('read an article before quoting it, and name it by code and number') plus the alternative route for finance laws ('use get_jo_act to read a finance law that a note names'). It also states the tool is Algeria-only, so the caller knows when not to call it.

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.