Skip to main content
Glama

Calculate Employer Cost FR

calculate_employer_cost_fr
Read-onlyIdempotent

Compute total employer cost in France (gross + employer contributions line by line - RGDU 2026). Use for hiring budget or freelance vs salary comparison. Inputs: monthly gross salary (private sector, non-cadre, company under 11 employees assumed). Returns employer cost and total charges. See list_bundles for related 'finance-france' calculators.

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_employer_cost_fr"
  }
}

Input Schema

NameRequiredDescriptionDefault
gross_monthlyYesMonthly gross salary EUR

Output Schema

NameRequiredDescriptionDefault
resultNoComputed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools).
sourceNoAuthoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21").
formulaNoHuman-readable formula or method used (e.g. "I=P·r·t", "Magnus formula").
reference_urlNoLink to a calcul2 page documenting the calculation in detail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "formula": {
      +      "description": "Human-readable formula or method used (e.g. \"I=P·r·t\", \"Magnus formula\").",
      +      "type": "string"
      +    },
      +    "reference_url": {
      +      "description": "Link to a calcul2 page documenting the calculation in detail.",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools)."
      +    },
      +    "source": {
      +      "description": "Authoritative source for the rule or formula (e.g. \"Article 197 CGI\", \"NF DTU 21\").",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds the substantive part: the calculation methodology (RGDU 2026) and the employment assumptions baked into the result (private sector, non-cadre, company under 11 employees). It doesn't flag that those assumptions are estimates only and can make the output wrong for cadre or larger-company cases, so it is not fully transparent.

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?

Roughly fifty words, front-loaded with the verb and resource, then use cases, assumptions, return contents, and a pointer to list_bundles. Every sentence contributes distinct information with no repetition of the tool title or 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?

The tool is simple (one numeric input) and an output schema exists, so return value documentation is not needed; the description still summarizes the outputs. Assumptions are disclosed, but it does not mention the consequence of violating them or direct users elsewhere when their situation differs, leaving a small but real gap.

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?

There is a single parameter at 100% schema description coverage, so the schema already carries the definition of gross_monthly. The description restates it as 'monthly gross salary' and adds the useful constraint that it is assumed private-sector/non-cadre, but adds no format or range detail 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?

States a specific verb and resource ('Compute total employer cost in France') and unpacks the formula (gross + employer contributions line by line, RGDU 2026), which separates it cleanly from the sibling payroll/tax calculators such as calculate_crypto_tax_fr or calculate_overtime_fr.

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?

Gives concrete usage contexts ('hiring budget or freelance vs salary comparison') and routes to list_bundles for the 'finance-france' bundle. It does not state when NOT to use it or which sibling covers scenarios outside its assumed profile, so it stops short of explicit alternative routing.

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.

Resources