Skip to main content
Glama

Show the employer cost ledger

show_ledger
Read-only

Use this when the user wants to see, display, keep, copy or export the line-by-line employer cost of one employee in a country as a table or card (e.g. "show me the breakdown", "display it as a table", "affiche le détail des cotisations patronales"). It computes the figures itself: call it directly, with no data tool first, or after employer_cost with the arguments employer_cost returns in widget. Displays the salary basis (a monthly salary times the statutory number of payments), one row per statutory line with its rate, base, floor or ceiling, source and check date, a monthly or annual view, a salary field to recalculate, and a CSV copy. Takes the same country, salary and assumptions as employer_cost. Data snapshot 2026-11-06. Cost comparison, not legal or tax advice.

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": {
      "country": "<country>"
    },
    "name": "show_ledger"
  }
}

Input Schema

NameRequiredDescriptionDefault
salaryNoGross salary, a year unless salary_period is "month". Omit to use the country's example salary.
countryYesISO 3166-1 alpha-2 code ("DE") or country name ("Germany")
assumptionsNoOverride an adjustable assumption the country declares, e.g. {"basic_share_of_gross": 0.6}. See `assumptions` in an employer_cost answer.
salary_periodNoWhether the salary is a year (default) or a month. Pass a monthly salary as the user gives it, with "month": the statutory number of monthly payments of the country (13th, 14th month) is applied, see salary_basis in the answer.year
salary_currencyNoCurrency of `salary`: USD, or the local currency of the countryUSD
payments_per_yearNoWith salary_period "month" only: the total number of monthly salaries the contract pays in a year, statutory ones included (e.g. 14). Omit to use the statutory number of the country.

Output Schema

NameRequiredDescriptionDefault
metaYes
linesYes
salaryYes
countryYes
summaryYes
assumptionsYes
not_in_totalYes
salary_basisNo
salary_inputYes
scenario_urlYes
employer_costYes
included_in_gross_salaryNo

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 a safe read-only, closed-world operation, and the description adds real context beyond them: the tool computes figures itself, rolls onto a data snapshot dated 2026-11-06, and carries a 'cost comparison, not legal or tax advice' caveat. It also discloses what the output contains (salary basis, one row per statutory line with rate, base, floor/ceiling, source and check date, CSV copy), though it says nothing about limits on which countries are supported or how the widget payload is shaped.

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?

Front-loaded with the when-to-use condition and trigger examples, then mechanics (call ordering, widget arguments), then the display contents and disclaimer. It is dense but long and paragraph-blocked; the output-content sentence could be split or trimmed given an output schema exists.

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

Completeness5/5

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

For a six-parameter tool with a fully described schema, enum-bearing params, nested assumptions, an output schema and annotations, the description covers entry points, the widget hand-off, output contents and scope caveats. Nothing an agent needs in order to call it correctly is missing.

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 the schema already carries the meaning of salary, country, assumptions, salary_period, salary_currency and payments_per_year. The description adds only a cross-tool tie-in ('takes the same country, salary and assumptions as employer_cost') and a mention that salary_basis is applied, which is marginally useful but not substantively 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 description names a specific verb set (show/display/copy/export) and a specific resource (the line-by-line employer cost of one employee in a country) rendered as a table or card. It also clearly separates it from the sibling 'employer_cost', noting that this tool computes the figures itself and can be called directly.

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?

It gives explicit routing: call directly with no data tool first, or call after employer_cost using the arguments employer_cost returns in `widget`. Real trigger phrases, including a non-English example, make the selection condition concrete rather than inferred.

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.