Skip to main content
Glama

MaCalculatriceEnLigne

Calculate Belgian Salary

calculate_belgian_salary
Read-onlyIdempotent

Convert Belgian gross monthly salary to net salary (estimate: employee ONSS 13.07% + annual personal income tax, single, no municipal surcharge; same engine as /api/v1/salaire-net?pays=be). Returns: {gross_monthly, social_cotisations_13_07pct, special_social_contribution, professional_withholding_tax, net_monthly, net_annual, ...}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gross_monthly": "<gross_monthly>"
    },
    "name": "calculate_belgian_salary"
  }
}

Input Schema

NameRequiredDescriptionDefault
gross_monthlyYesGross monthly salary in euros

Output Schema

NameRequiredDescriptionDefault
resultNoComputed result (fields depend on the tool).
sourceNoLegal or official source.
formulaNoMethod used.
reference_urlNomacalculatriceenligne.com page to share.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / formula / description
      Previous value: -"Human-readable formula or method used (e.g. \"I=P·r·t\", \"Magnus formula\")."New value: +"Method used."
    • changedOutput schema / properties / reference_url / description
      Previous value: -"Link to a calcul2 page documenting the calculation in detail."New value: +"macalculatriceenligne.com page to share."
    • changedOutput schema / properties / result / description
      Previous value: -"Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools)."New value: +"Computed result (fields depend on the tool)."
    • changedOutput schema / properties / source / description
      Previous value: -"Authoritative source for the rule or formula (e.g. \"Article 197 CGI\", \"NF DTU 21\")."New value: +"Legal or official source."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, and the description adds genuine context beyond that: the tax assumptions baked into the result, the estimate caveat, and a reference to the underlying endpoint. What is missing is only operational detail such as rounding conventions or how the special social contribution is triggered.

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 compact sentences with the core conversion stated first and the assumptions immediately after. The trailing list of return fields with an ellipsis is mildly wasteful since an output schema already exists, but it is short and does not obscure the main point.

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 one-parameter, side-effect-free calculator with an output schema, the definition supplies everything an agent needs to decide applicability and interpret the result as an estimate. The return-field enumeration is redundant rather than harmful, and no critical calling detail is absent.

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 single parameter is already documented as 'Gross monthly salary in euros' with a minimum of 0. The description's phrase 'Belgian gross monthly salary' reinforces currency and period but adds no new constraint or formatting guidance beyond the schema, so the baseline of 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: convert Belgian gross monthly salary to net salary. Names the country and the calculation family explicitly, which cleanly separates it from siblings like calculate_french_income_tax or calculate_canada_sales_tax.

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?

The parenthetical spells out the applicable scenario (employee ONSS 13.07%, annual personal income tax, single filer, no municipal surcharge) and labels the result an estimate, which implicitly tells an agent when the output does and does not apply. It stops short of stating exclusions explicitly (e.g. married filers or communal taxes need a different method), so no dedicated alternative is offered.

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.