Skip to main content
Glama
Benjamin09e

wezas-africa-toolkit

Calculer Tva

calculer_tva

Calculate VAT and net/gross amounts using official African country rates; add VAT to a net amount or extract VAT from a gross amount by country and rate type.

Instructions

Calcule la TVA et les montants HT/TTC selon les taux officiels du pays africain. Calculates VAT and net/gross amounts according to official African country rates.

Input Schema

NameRequiredDescriptionDefault
modeNo"ht" pour calculer la TVA et le TTC, ou "ttc" pour extraire la TVA et le HT.ht
paysYesNom ou code pays (ex. "Gabon", "GA", "Cameroun", "Sénégal").
montantYesMontant de base (nombre ou chaîne, ex. 10000).
type_tauxNo"standard" (par défaut), "reduit" ou "super_reduit".standard
taux_personnaliseNoTaux décimal personnalisé optionnel (ex. 0.18 pour 18%).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load, and it does disclose one important trait: rates come from a built-in table of official African country rates rather than being supplied by the caller. It says nothing about what happens for unsupported countries, rate-table coverage, rounding, or whether taux_personnalise overrides type_taux.

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?

Two short sentences that front-load the core purpose, with no filler. The only inefficiency is that the French and English lines are verbatim restatements rather than complementary detail.

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

Completeness3/5

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

Five parameters, two enums, and an output schema means the return values need no explanation, and the schema covers the inputs. Still missing are the behaviors an agent needs to call it correctly: precedence of taux_personnalise, behavior for an unrecognized country, and rounding convention.

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 every parameter, including both enums, is documented inline, so the schema does the heavy lifting. The description adds only the framing that 'pays' keys into an official rate table; it never disambiguates mode or the precedence between taux_personnalise and type_taux.

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?

Names a specific verb (calcule) and a specific output set (TVA et montants HT/TTC), plus a scope qualifier (taux officiels du pays africain) that tells the agent where the rates come from. It does not, however, distinguish itself from nearby siblings such as convertir_devise or formater_montant, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use / when-not-to-use guidance and never mentions the siblings it overlaps with (currency conversion, amount formatting). It also does not say when to prefer type_taux over taux_personnalise, leaving the caller to guess.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.