Skip to main content
Glama

UpGrowth: business data for Algeria, Tunisia and Morocco

Get the social contributions of a country

get_social_contributions
Read-only

Get the social contributions and payroll levies in a country in 2026, each with its base, its legal source and the official page it was read on. Algeria (DZ, the default country): the CNAS social security contribution on salaries with its employer, employee and social works shares, the special categories of workers, and the CASNOS contribution of the self-employed with its rate, its base, its floor and ceiling and the auto-entrepreneur flat option. Tunisia (TN): the social security (CNSS) contribution with its employer and employee shares, the work accident range, the complementary pension regime and the payroll levies (vocational training tax TFP and housing fund contribution FOPROLOS). Morocco (MA): the CNSS contributions (family allowances, short-term and long-term social benefits with their salary ceiling), the compulsory health insurance (AMO) and the vocational training tax (TFP), with the employer and employee shares. For an Algerian estimate use calculate_casnos and calculate_ifu.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoLanguage of the labels, notes and attribution text in the answer: fr (French, the default), ar (Arabic) or en (English).fr
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, returns country_not_available.DZ

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds genuinely new behavior detail by disclosing the 2026 data vintage and that every entry carries its base, legal source and the official page it was read from. It does not restate the annotation claims, though it also does not mention error or empty-result behavior (that lives only in the schema).

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?

The first sentence and the closing sibling reference are well-placed and front-loaded, but the middle is a long catalogue of each country's contribution line items that mostly duplicates what the tool returns. It is informative but padded, and the actionable guidance is split between the first and last sentences.

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?

With no output schema, the description does the necessary work of explaining the shape and provenance of the returned contributions and enumerating coverage per country. Combined with the schema's error contract (country_not_available), an agent has enough to call this correctly, though it does not state whether results are cached, versioned beyond 2026, or how the lang choice affects the content.

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 both parameters are documented in the schema, including the country codes, default and error case, so the baseline is 3. The description's country-by-country enumeration describes what comes back rather than how to set the parameters, and it never mentions the lang parameter's effect, so it adds little parameter-level meaning beyond the schema.

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 opening sentence gives a specific verb and resource ('Get the social contributions and payroll levies in a country in 2026') and immediately qualifies the payload with its per-item provenance (base, legal source, official page). It also names the sibling tools (calculate_casnos, calculate_ifu) that cover the adjacent estimation use case, so an agent can separate this lookup tool from them without opening a schema.

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?

It routes one clear case explicitly: 'For an Algerian estimate use calculate_casnos and calculate_ifu', which tells the agent when a sibling is the better choice. It stops short of stating exclusions for the other covered countries or how it relates to list_countries, so the guidance is clear but partial.

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.