Skip to main content
Glama

UpGrowth: business data for Algeria, Tunisia and Morocco

Get an ANAE activity

get_anae_activity
Read-only

Get one activity of the Algerian ANAE nomenclature (auto-entrepreneur status) by its six-digit code, for example 010101: its labels in French, Arabic and English and its domain. Use it when the user gives a code, or after search_anae_activities. Returns an error when the code does not exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesANAE activity code, six digits, for example 010101. Find codes with search_anae_activities.
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.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds behavior annotations cannot: that a non-existent code yields an error, and that the response carries labels in three languages plus a domain. It stops short of describing error payload shape or pagination-like limits, but the added disclosure is substantive.

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

Conciseness5/5

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

Three sentences, front-loaded with the purpose and identifier format before the routing advice and the error note. Every sentence earns its place; no filler or redundant restatement of the schema.

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 describe the returned content (multilingual labels and domain) and the failure mode, which is the key information. It could say slightly more about how lang/country alter the answer, but the schema covers those defaults, so the gap is minor.

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%, so all three parameters (code, lang, country) are already fully documented in the schema, including the enum, defaults, country_not_available behavior and the pointer to search_anae_activities. The description's mention of the six-digit code and example 010101 largely restates the schema, so baseline 3 applies.

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 activity of the Algerian ANAE nomenclature') and pins the identifier format with a concrete example ('six-digit code, for example 010101'). It also names exactly what comes back (French/Arabic/English labels and domain), which cleanly separates it from the search sibling.

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 an explicit trigger ('when the user gives a code') and an explicit alternative path ('or after search_anae_activities'), so the agent knows both the entry condition and the tool that produces valid inputs. No exclusions are needed for a pure lookup, so nothing important 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.