Skip to main content
Glama

UpGrowth: business data for Algeria, Tunisia and Morocco

Estimate the CASNOS contribution

calculate_casnos
Read-only

Estimate the yearly contribution to CASNOS, the Algerian social security fund of the self-employed, for 2026, with the same formula as the UpGrowth calculator: a rate applied to a base that depends on the tax regime, between a floor and a ceiling indexed on the minimum wage (SNMG). Rule applied for Algeria: article 14 of executive decree 15-289 as rewritten by executive decree 26-257 of 15 July 2026 (JO 2026 no. 53, published 23 July 2026, no entry-into-force clause): rate 15 % (7.5 % social insurance, 7.5 % pension) on a base floored at the yearly SNMG (24,000 DA a month, so 288,000 DA, a minimum contribution of 43,200 DA) and capped at twenty times it (5,760,000 DA, a maximum contribution of 864,000 DA); flat-rate tax regimes take 25 % (production and sale of goods) or 35 % (services) of the previous year's tax turnover (decree 24-49), the actual profit regime takes the ordinary result before tax; the first year is based on the yearly SNMG; the auto-entrepreneur may choose 24,000 DA a year. Before 26-257 the floor was the yearly reference wage of 216,000 DA (decrees 22-121 and 20-240, a minimum contribution of 32,400 DA), and the 2026 contribution, due on 1 January, was payable before 1 July 2026: the texts do not say whether 26-257 applies to a 2026 contribution already due (À VÉRIFIER). Since 26-257, with several activities the contribution of each activity cannot be below the minimum; this tool handles one activity at a time. From the third year of activity a floor equal to the average contribution of the same activity in the same wilaya applies: its orders were not found in the Journal officiel, so it is not estimated. Give the regime and, for most regimes, the amount. Returns the yearly, monthly and quarterly contribution with the figures it was computed from, and its limitations: read data.limitations before quoting the result. It is an estimate from public texts, not tax or legal advice. For Tunisia (country TN) it gives the CNSS contribution of the self-employed workers of the non-agricultural sector: regime INDEPENDANT_NON_AGRICOLE and income_class (1 to 10), the quarterly amount the CNSS prints for that class (rate 14.71 %), the yearly amount (four quarters) and the monthly equivalent, in Tunisian dinars, with the period the scale is valid for and the full scale of ten classes; the revenue is not used. Other Tunisian self-employed schemes (agricultural, fishing, craftsmen) are regimes of the same tool, and the Tunisian flat tax is calculate_ifu. Tunisia needs an API key. Morocco (country MA): regime AUTO_ENTREPRENEUR returns the bracket, the quarterly and yearly AMO contribution (supplementary rights, decree 2-21-928) and the pension contribution at 1.57 times it, with the payment dates; regime TRAVAILLEUR_NON_SALARIE returns, for a category (doctor, notary, driver, farmer...), the forfait income multiple set by its decree with its Bulletin officiel, and the rates (AMO 6.37 percent, pension 10 percent of the forfait income, decrees 2-18-623 and 2-18-625); with minimum_wage_hourly it also gives the forfait income and the contributions in dirhams.

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the labels, notes and attribution text in the answer: fr (French, the default), ar (Arabic) or en (English).fr
tierNoMorocco only (country MA): the tier of the category when it has several (for example general or specialist for a doctor, owner or non_owner for a driver, class_1 to class_9 for a farmer, simplified for a trader under the simplified net result regime). The answer lists the tiers of the category.
yearNoYear of the rates. Only the 2026 rates are published today, so this can be left out.
regimeYesAlgeria: FORFAITAIRE_ACHAT_VENTE (flat-rate, goods, 25 %), FORFAITAIRE_PRESTATIONS (flat-rate, services, 35 %), BENEFICE_REEL (actual profit), AUTO_ENTREPRENEUR (24,000 DA option) or PREMIERE_ANNEE (first year). Tunisia (country TN): INDEPENDANT_NON_AGRICOLE, INDEPENDANT_AGRICOLE and ARMATEUR_PECHE_30T (ten classes, need income_class); PETIT_AGRICULTEUR, PETIT_ARMATEUR_PECHE and PECHEUR_INDEPENDANT (flat 7.5 % scheme of law 2002-32); ARTISAN (craftsmen of the same law, 7.5 % of 2/3 of the SMIG over 200 hours a month). Morocco (country MA): AUTO_ENTREPRENEUR (decree 2-21-928) or TRAVAILLEUR_NON_SALARIE (the other non-salaried workers: one decree per category, chosen with category).
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
revenueNoYearly amount in Algerian dinars (DZD). For the flat-rate regimes send the tax turnover (chiffre d'affaires fiscal) of the previous financial year; for BENEFICE_REEL send the ordinary result before tax (résultat ordinaire avant impôt) of the financial year closed and declared the previous year. Needed for those three regimes, ignored for AUTO_ENTREPRENEUR and PREMIERE_ANNEE. Ignored for Tunisia (country TN), whose contribution depends on the income class. For Morocco (country MA, regime AUTO_ENTREPRENEUR) it is required: the yearly amount, in Moroccan dirhams (MAD), of the "droits annuels" that select the bracket of the scale of the tax administration.
categoryNoMorocco only (country MA), regime TRAVAILLEUR_NON_SALARIE: the category of non-salaried worker, for example doctor, dentist, pharmacist, notary, architect, veterinarian, land_surveyor, judicial_bailiff, taxi_driver, professional_driver, farmer, trader_artisan_accounting, artisan_unaccounted, traditional_fishing_boat_owner, cpu. Leave it out to list the categories, each with its decree and its Bulletin officiel.
net_profitNoMorocco only (country MA), category trader_artisan_accounting under the actual net result regime: the annual net profit in dirhams, which picks the tier (up to 100,000 dirhams or above).
week_hoursNoTunisia only (country TN): the weekly working-time regime whose SMIG of décret 2026-67 the craftsmen's contribution uses when smig_monthly_tnd is left out: 48 (554.736 dinars a month, the default) or 40 (470.251). The CNSS page of the craftsmen uses the 48 hour regime, so leave it at 48.
annual_hoursNoMorocco only (country MA): the normal yearly working time in hours used with minimum_wage_hourly; 2,288 (article 184 of the Labour Code, not read in the decrees) when left out.
income_classNoTunisia only (country TN): the income class of the insured person in the CNSS scale of the self-employed, from 1 (the lowest base) to 10. Required with the regime INDEPENDANT_NON_AGRICOLE; the answer lists the ten classes. Ignored for Algeria.
seniority_yearsNoMorocco only (country MA): the seniority in years, which picks the tier of the categories whose forfait income depends on it (dentist, veterinarian, land_surveyor, architect). Complete years count.
smig_monthly_tndNoTunisia only (country TN): the monthly guaranteed minimum wage (SMIG) in dinars, for the craftsmen of the law no. 2002-32 (regime ARTISAN of calculate_casnos, activity crafts of calculate_ifu): their contribution is 7.5 % of two thirds of its hourly value (monthly amount divided by 208 hours at 48 hours a week) over 200 hours a month. Leave it out to use the SMIG of décret 2026-67 (554.736 dinars, 48 hour week; see week_hours).
minimum_wage_hourlyNoMorocco only (country MA), regime TRAVAILLEUR_NON_SALARIE: the legal hourly minimum wage of non-agricultural activities in dirhams, which the decrees do not state. With it the answer gives the forfait income in dirhams (multiplier times that wage times the yearly hours) and the AMO and pension contributions on it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / regime / description
      Previous value: -"Algeria: FORFAITAIRE_ACHAT_VENTE, FORFAITAIRE_PRESTATIONS (flat-rate regimes, resale and services), BENEFICE_REEL (actual profit), AUTO_ENTREPRENEUR (flat yearly option) or PREMIERE_ANNEE (first year). Tunisia (country TN): INDEPENDANT_NON_AGRICOLE, INDEPENDANT_AGRICOLE and ARMATEUR_PECHE_30T (ten classes, need income_class); PETIT_AGRICULTEUR, PETIT_ARMATEUR_PECHE and PECHEUR_INDEPENDANT (flat 7.5 % scheme of law 2002-32); ARTISAN (craftsmen of the same law, 7.5 % of 2/3 of the SMIG over 200 hours a month). Morocco (country MA): AUTO_ENTREPRENEUR (decree 2-21-928) or TRAVAILLEUR_NON_SALARIE (the other non-salaried workers: one decree per category, chosen with category)."New value: +"Algeria: FORFAITAIRE_ACHAT_VENTE (flat-rate, goods, 25 %), FORFAITAIRE_PRESTATIONS (flat-rate, services, 35 %), BENEFICE_REEL (actual profit), AUTO_ENTREPRENEUR (24,000 DA option) or PREMIERE_ANNEE (first year). Tunisia (country TN): INDEPENDANT_NON_AGRICOLE, INDEPENDANT_AGRICOLE and ARMATEUR_PECHE_30T (ten classes, need income_class); PETIT_AGRICULTEUR, PETIT_ARMATEUR_PECHE and PECHEUR_INDEPENDANT (flat 7.5 % scheme of law 2002-32); ARTISAN (craftsmen of the same law, 7.5 % of 2/3 of the SMIG over 200 hours a month). Morocco (country MA): AUTO_ENTREPRENEUR (decree 2-21-928) or TRAVAILLEUR_NON_SALARIE (the other non-salaried workers: one decree per category, chosen with category)."
    • changedInput schema / properties / revenue / description
      Previous value: -"Yearly amount in Algerian dinars (DZD). For the flat-rate regimes send the turnover (chiffre d'affaires) of the previous year; for BENEFICE_REEL send the taxable profit. Needed for those three regimes, ignored for AUTO_ENTREPRENEUR and PREMIERE_ANNEE. Ignored for Tunisia (country TN), whose contribution depends on the income class. For Morocco (country MA, regime AUTO_ENTREPRENEUR) it is required: the yearly amount, in Moroccan dirhams (MAD), of the \"droits annuels\" that select the bracket of the scale of the tax administration."New value: +"Yearly amount in Algerian dinars (DZD). For the flat-rate regimes send the tax turnover (chiffre d'affaires fiscal) of the previous financial year; for BENEFICE_REEL send the ordinary result before tax (résultat ordinaire avant impôt) of the financial year closed and declared the previous year. Needed for those three regimes, ignored for AUTO_ENTREPRENEUR and PREMIERE_ANNEE. Ignored for Tunisia (country TN), whose contribution depends on the income class. For Morocco (country MA, regime AUTO_ENTREPRENEUR) it is required: the yearly amount, in Moroccan dirhams (MAD), of the \"droits annuels\" that select the bracket of the scale of the tax administration."
  2. Changed1 schema field changed
    • changedInput schema / properties / minimum_wage_hourly / description
      Previous value: -"Morocco only (country MA), regime TRAVAILLEUR_NON_SALARIE: the legal hourly minimum wage of non-agricultural activities in dirhams, which the decrees do not state. With it the answer gives the forfait income in dirhams (multiplier times that wage times the yearly hours)."New value: +"Morocco only (country MA), regime TRAVAILLEUR_NON_SALARIE: the legal hourly minimum wage of non-agricultural activities in dirhams, which the decrees do not state. With it the answer gives the forfait income in dirhams (multiplier times that wage times the yearly hours) and the AMO and pension contributions on it."
  3. Changed11 schema fields changed
    • addedInput schema / properties / annual_hours
      Added value: +{
      +  "description": "Morocco only (country MA): the normal yearly working time in hours used with minimum_wage_hourly; 2,288 (article 184 of the Labour Code, not read in the decrees) when left out.",
      +  "maximum": 8760,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / category
      Added value: +{
      +  "description": "Morocco only (country MA), regime TRAVAILLEUR_NON_SALARIE: the category of non-salaried worker, for example doctor, dentist, pharmacist, notary, architect, veterinarian, land_surveyor, judicial_bailiff, taxi_driver, professional_driver, farmer, trader_artisan_accounting, artisan_unaccounted, traditional_fishing_boat_owner, cpu. Leave it out to list the categories, each with its decree and its Bulletin officiel.",
      +  "type": "string"
      +}
    • addedInput schema / properties / minimum_wage_hourly
      Added value: +{
      +  "description": "Morocco only (country MA), regime TRAVAILLEUR_NON_SALARIE: the legal hourly minimum wage of non-agricultural activities in dirhams, which the decrees do not state. With it the answer gives the forfait income in dirhams (multiplier times that wage times the yearly hours).",
      +  "maximum": 10000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / net_profit
      Added value: +{
      +  "description": "Morocco only (country MA), category trader_artisan_accounting under the actual net result regime: the annual net profit in dirhams, which picks the tier (up to 100,000 dirhams or above).",
      +  "maximum": 1000000000000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / regime / description
      Previous value: -"Algeria: the tax regime of the person: FORFAITAIRE_ACHAT_VENTE (flat-rate regime, purchase and resale), FORFAITAIRE_PRESTATIONS (flat-rate regime, services), BENEFICE_REEL (actual-profit regime), AUTO_ENTREPRENEUR (the flat yearly option of the auto-entrepreneur status) or PREMIERE_ANNEE (first year of contribution, with no previous year to rely on). Tunisia (country TN): only INDEPENDANT_NON_AGRICOLE, the CNSS scheme of the self-employed workers of the non-agricultural sector, which also needs income_class."New value: +"Algeria: FORFAITAIRE_ACHAT_VENTE, FORFAITAIRE_PRESTATIONS (flat-rate regimes, resale and services), BENEFICE_REEL (actual profit), AUTO_ENTREPRENEUR (flat yearly option) or PREMIERE_ANNEE (first year). Tunisia (country TN): INDEPENDANT_NON_AGRICOLE, INDEPENDANT_AGRICOLE and ARMATEUR_PECHE_30T (ten classes, need income_class); PETIT_AGRICULTEUR, PETIT_ARMATEUR_PECHE and PECHEUR_INDEPENDANT (flat 7.5 % scheme of law 2002-32); ARTISAN (craftsmen of the same law, 7.5 % of 2/3 of the SMIG over 200 hours a month). Morocco (country MA): AUTO_ENTREPRENEUR (decree 2-21-928) or TRAVAILLEUR_NON_SALARIE (the other non-salaried workers: one decree per category, chosen with category)."
    • changedInput schema / properties / regime / enum
      Previous value: -[
      -  "FORFAITAIRE_ACHAT_VENTE",
      -  "FORFAITAIRE_PRESTATIONS",
      -  "BENEFICE_REEL",
      -  "AUTO_ENTREPRENEUR",
      -  "PREMIERE_ANNEE",
      -  "INDEPENDANT_NON_AGRICOLE"
      -]New value: +[
      +  "FORFAITAIRE_ACHAT_VENTE",
      +  "FORFAITAIRE_PRESTATIONS",
      +  "BENEFICE_REEL",
      +  "AUTO_ENTREPRENEUR",
      +  "PREMIERE_ANNEE",
      +  "INDEPENDANT_NON_AGRICOLE",
      +  "INDEPENDANT_AGRICOLE",
      +  "ARMATEUR_PECHE_30T",
      +  "PETIT_AGRICULTEUR",
      +  "PETIT_ARMATEUR_PECHE",
      +  "PECHEUR_INDEPENDANT",
      +  "ARTISAN",
      +  "TRAVAILLEUR_NON_SALARIE"
      +]
    • changedInput schema / properties / revenue / description
      Previous value: -"Yearly amount in Algerian dinars (DZD). For the flat-rate regimes send the turnover (chiffre d'affaires) of the previous year; for BENEFICE_REEL send the taxable profit. Needed for those three regimes, ignored for AUTO_ENTREPRENEUR and PREMIERE_ANNEE. Ignored for Tunisia (country TN), whose contribution depends on the income class."New value: +"Yearly amount in Algerian dinars (DZD). For the flat-rate regimes send the turnover (chiffre d'affaires) of the previous year; for BENEFICE_REEL send the taxable profit. Needed for those three regimes, ignored for AUTO_ENTREPRENEUR and PREMIERE_ANNEE. Ignored for Tunisia (country TN), whose contribution depends on the income class. For Morocco (country MA, regime AUTO_ENTREPRENEUR) it is required: the yearly amount, in Moroccan dirhams (MAD), of the \"droits annuels\" that select the bracket of the scale of the tax administration."
    • addedInput schema / properties / seniority_years
      Added value: +{
      +  "description": "Morocco only (country MA): the seniority in years, which picks the tier of the categories whose forfait income depends on it (dentist, veterinarian, land_surveyor, architect). Complete years count.",
      +  "maximum": 100,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / smig_monthly_tnd
      Added value: +{
      +  "description": "Tunisia only (country TN): the monthly guaranteed minimum wage (SMIG) in dinars, for the craftsmen of the law no. 2002-32 (regime ARTISAN of calculate_casnos, activity crafts of calculate_ifu): their contribution is 7.5 % of two thirds of its hourly value (monthly amount divided by 208 hours at 48 hours a week) over 200 hours a month. Leave it out to use the SMIG of décret 2026-67 (554.736 dinars, 48 hour week; see week_hours).",
      +  "maximum": 100000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / tier
      Added value: +{
      +  "description": "Morocco only (country MA): the tier of the category when it has several (for example general or specialist for a doctor, owner or non_owner for a driver, class_1 to class_9 for a farmer, simplified for a trader under the simplified net result regime). The answer lists the tiers of the category.",
      +  "type": "string"
      +}
    • addedInput schema / properties / week_hours
      Added value: +{
      +  "default": 48,
      +  "description": "Tunisia only (country TN): the weekly working-time regime whose SMIG of décret 2026-67 the craftsmen's contribution uses when smig_monthly_tnd is left out: 48 (554.736 dinars a month, the default) or 40 (470.251). The CNSS page of the craftsmen uses the 48 hour regime, so leave it at 48.",
      +  "enum": [
      +    40,
      +    48
      +  ],
      +  "type": "integer"
      +}
  4. Changed5 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."
    • addedInput schema / properties / income_class
      Added value: +{
      +  "description": "Tunisia only (country TN): the income class of the insured person in the CNSS scale of the self-employed, from 1 (the lowest base) to 10. Required with the regime INDEPENDANT_NON_AGRICOLE; the answer lists the ten classes. Ignored for Algeria.",
      +  "maximum": 10,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedInput schema / properties / regime / description
      Previous value: -"Tax regime of the person: FORFAITAIRE_ACHAT_VENTE (flat-rate regime, purchase and resale), FORFAITAIRE_PRESTATIONS (flat-rate regime, services), BENEFICE_REEL (actual-profit regime), AUTO_ENTREPRENEUR (the flat yearly option of the auto-entrepreneur status) or PREMIERE_ANNEE (first year of contribution, with no previous year to rely on)."New value: +"Algeria: the tax regime of the person: FORFAITAIRE_ACHAT_VENTE (flat-rate regime, purchase and resale), FORFAITAIRE_PRESTATIONS (flat-rate regime, services), BENEFICE_REEL (actual-profit regime), AUTO_ENTREPRENEUR (the flat yearly option of the auto-entrepreneur status) or PREMIERE_ANNEE (first year of contribution, with no previous year to rely on). Tunisia (country TN): only INDEPENDANT_NON_AGRICOLE, the CNSS scheme of the self-employed workers of the non-agricultural sector, which also needs income_class."
    • changedInput schema / properties / regime / enum
      Previous value: -[
      -  "FORFAITAIRE_ACHAT_VENTE",
      -  "FORFAITAIRE_PRESTATIONS",
      -  "BENEFICE_REEL",
      -  "AUTO_ENTREPRENEUR",
      -  "PREMIERE_ANNEE"
      -]New value: +[
      +  "FORFAITAIRE_ACHAT_VENTE",
      +  "FORFAITAIRE_PRESTATIONS",
      +  "BENEFICE_REEL",
      +  "AUTO_ENTREPRENEUR",
      +  "PREMIERE_ANNEE",
      +  "INDEPENDANT_NON_AGRICOLE"
      +]
    • changedInput schema / properties / revenue / description
      Previous value: -"Yearly amount in Algerian dinars (DZD). For the flat-rate regimes send the turnover (chiffre d'affaires) of the previous year; for BENEFICE_REEL send the taxable profit. Needed for those three regimes, ignored for AUTO_ENTREPRENEUR and PREMIERE_ANNEE."New value: +"Yearly amount in Algerian dinars (DZD). For the flat-rate regimes send the turnover (chiffre d'affaires) of the previous year; for BENEFICE_REEL send the taxable profit. Needed for those three regimes, ignored for AUTO_ENTREPRENEUR and PREMIERE_ANNEE. Ignored for Tunisia (country TN), whose contribution depends on the income class."
  5. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With readOnlyHint/openWorldHint already set, the description still adds real behavioral context: it discloses that results are estimates from public texts and not advice, flags an unresolved legal question (À VÉRIFIER), warns to read data.limitations before quoting, states that Tunisia requires an API key (key_required), and describes the return shape (yearly/monthly/quarterly with inputs and limitations). It stops short of noting rate limits or error behaviors beyond key_required/country_not_available.

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

Conciseness2/5

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

The description is a single enormous paragraph that mixes Algeria's full legislative history (decrees 22-121, 20-240, 26-257), Tunisia, and Morocco, with legal citations and figures that do not help an agent select or invoke the tool. Much of the Tunisia/Morocco content duplicates the already-100%-covered schema descriptions, and the front-loading dissolves after the first sentence.

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 14-parameter, three-country, 13-regime tool with no output schema, the description is largely complete: it substitutes for the missing output schema (yearly/monthly/quarterly plus the figures used and limitations) and covers regime selection, auth requirements, and per-country caveats. It is only mildly incomplete in that the name/scope mismatch and the legal-history digressions leave the agent to disentangle DZ/TN/MA behavior.

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 parameter descriptions are unusually thorough, so the baseline is 3. The description does add cross-parameter coupling (revenue needed for the three Algerian regimes, ignored for AUTO_ENTREPRENEUR/PREMIERE_ANNEE; income_class required with INDEPENDANT_NON_AGRICOLE), but most of that is already restated in the schema, so it does not materially exceed the structured data.

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 opening sentence gives a specific verb and resource (estimate the yearly CASNOS contribution for 2026) and names the sibling it is not (calculate_ifu handles the Tunisian flat tax). However, the name/title promise CASNOS (Algerian only) while the description silently expands scope to Tunisia (CNSS) and Morocco (AMO/pension), so the top-line framing understates what the tool actually does.

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?

Usage is implied rather than stated: the description lists which regime fits which country and notes that other Tunisian schemes are 'regimes of the same tool' while the Tunisian flat tax is calculate_ifu. That one explicit alternative-routing is useful, but there is no clear when-to-use/when-not framing, and the 'Give the regime and, for most regimes, the amount' instruction is buried mid-paragraph.

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.