Skip to main content
Glama

UpGrowth: business data for Algeria, Tunisia and Morocco

Get a Journal Officiel issue

get_jo_issue
Read-only

Get one issue of the Algerian Journal Officiel by year and number: the links to its official editions and, when UpGrowth holds it, its summary (sommaire): the date and, section by section, the official titles of the texts published in the issue. The summary exists only for some years and issues; otherwise data.sommaire is null and data.note says why. For 1962 to 2001 the summary is read from the scanned issue: data.sommaire.source says so, data.sommaire.titles_held_back counts the entries the readings did not agree on (not listed) and data.sommaire.complete is true when none is missing. For Morocco (country MA) pass the number of the Bulletin officiel, a continuous series (for example 7522): you get its publication date, the links to its French and Arabic editions and, in data.supplements, the supplements of that number (bis, ter); data.sommaire is always null, no Moroccan summary is held yet. For Tunisia (country TN) pass the number of the issue within the year (for example 97): you get its publication date and whether its French and Arabic editions exist, with no direct PDF link; data.sommaire is always null. Use it to find which texts an issue published. Without an API key only Algeria answers, for the current year and the two before it (older years return key_required).

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the labels, notes and attribution text in the answer: fr (French, the default), ar (Arabic) or en (English).fr
yearYesYear of the gazette: the Journal Officiel from 1962 for Algeria, the Bulletin officiel from 1912 for Morocco (country MA), the Journal Officiel de la République Tunisienne from 1956 for Tunisia (country TN). Find the years covered with list_jo_years. Without an API key only Algeria answers, for the current year and the two before it; older years come with a paid plan.
numberYesNumber of the issue. Algeria: its number within the year, starting at 1. Morocco: the number of the Bulletin officiel, a continuous series, for example 7522. Tunisia: its number within the year, for example 97. Find the numbers with list_jo_issues.
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. Changed1 schema field changed
    • changedInput schema / properties / year / description
      Previous value: -"Year of the gazette: the Journal Officiel from 1962 for Algeria, the Bulletin officiel from 1912 for Morocco (country MA), the Journal Officiel de la République Tunisienne from 1956 for Tunisia (country TN). Find the years covered with list_jo_years. Without an API key only Algeria answers, for the current year and the two before it."New value: +"Year of the gazette: the Journal Officiel from 1962 for Algeria, the Bulletin officiel from 1912 for Morocco (country MA), the Journal Officiel de la République Tunisienne from 1956 for Tunisia (country TN). Find the years covered with list_jo_years. Without an API key only Algeria answers, for the current year and the two before it; older years come with a paid plan."
  2. Changed2 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Country 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, returns country_not_available."New value: +"Country 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."
    • changedInput schema / properties / year / description
      Previous value: -"Year of the gazette: the Journal Officiel from 1962 for Algeria, the Bulletin officiel from 1912 for Morocco (country MA), the Journal Officiel de la République Tunisienne from 1956 for Tunisia (country TN). Find the years covered with list_jo_years."New value: +"Year of the gazette: the Journal Officiel from 1962 for Algeria, the Bulletin officiel from 1912 for Morocco (country MA), the Journal Officiel de la République Tunisienne from 1956 for Tunisia (country TN). Find the years covered with list_jo_years. Without an API key only Algeria answers, for the current year and the two before it."
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say the call is read-only and closed-world; the description adds real behavioral detail: data.sommaire may be null with a reason in data.note, pre-2002 summaries come from scanned issues (source, titles_held_back, complete), Morocco returns supplements with no summary, Tunisia gives no PDF link, and older Algerian years return key_required without a key. That is exactly the non-obvious failure and payload context an caller needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and every block is informative, but the passage is long for a 4-parameter tool and repeats content already in the schema (the continuous Morocco series example 7522, the within-year Tunisia example 97, and the free-tier restriction on year). The country paragraphs also repeat 'data.sommaire is always null' twice, which could collapse into one clause.

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?

There is no output schema, so the description carries the full return-shape burden, and it does: links, sommaire structure, note, source, titles_held_back, complete, supplements, and null-summary cases per country. Combined with existing annotations, an agent has everything needed to call it and interpret the response.

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 100% and the enum count is 1, so the schema already explains lang, year, number and country, including the same Morocco/Tunisia number conventions. The description largely restates those conventions rather than adding new semantics, so the baseline of 3 applies despite the added examples.

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 issue of the Algerian Journal Officiel by year and number') and immediately enumerates what it returns: edition links plus the summary of published texts. It is clearly separable from list_jo_issues (which finds numbers) and get_jo_act/search_jo_text (which look at texts).

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?

'Use it to find which texts an issue published' gives the operative context, and the description points at list_jo_years and list_jo_issues for the parameters, plus the free-tier rule (only Algeria, current year and two before). It stops short of an explicit 'use search_jo_text instead when you only know a keyword' exclusion, so not a 5.

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.