Skip to main content
Glama

Employer cost of job offers in several countries

compare_offers
Read-only

Use this when the user has job offers or candidates in 2 to 6 countries, each with its own gross salary (in USD or the local currency), and wants the total employer cost of each (e.g. "candidate A in Poland at 240,000 PLN, candidate B in Portugal at 45k: what does each cost the company?"). A monthly offer is passed with salary_period "month", which applies each country's statutory 13th or 14th month (e.g. "un candidat à 3 000 par mois à Madrid et un autre à 60 000 par an à Dublin"). Returns salary plus statutory employer charges, before any Employer of Record fee, the difference and ratio of each total to the smallest one, and the contribution ceilings each salary reaches. Rows come back in the order given. Do not use when the salary is the same in every country (use compare_countries). 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": {
      "offers": "<offers>"
    },
    "name": "compare_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
offersYesOne offer per country, 2 to 6 countries, each with its own salary

Output Schema

NameRequiredDescriptionDefault
metaYes
offersYes
widgetNo
readingYes
summaryYes
smallest_totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare a read-only, closed-world, non-destructive operation, and the description goes beyond them by scoping the result (salary plus statutory employer charges, before any Employer of Record fee), disclosing the data snapshot date, noting row order, and flagging it is not legal/tax advice. The one gap is that it re-states return contents that the output schema likely already provides, so it is not fully additive.

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 clause, then examples, then exclusions and caveats, so the agent hits the decision rule first. It is dense but slightly padded by two bilingual worked examples that illustrate the same monthly-annual contrast.

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?

Given a single nested-array parameter and an existing output schema, nothing an agent needs is missing: input shape, monthly edge case, sibling routing, output contents at a high level, data vintage, and a scope disclaimer are all present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning on the tricky case: passing a monthly salary applies the country's statutory 13th/14th month, and the resulting salary_basis is surfaced in the answer. That clarifies an easily misused field beyond the schema wording, though the currency/payments_per_year details are left entirely to 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?

Names a specific computation (total employer cost) over a specific resource (2-6 country offers with gross salaries) and explicitly distinguishes itself from compare_countries. The embedded user-query example makes the input shape and output goal unambiguous.

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?

Opens with an explicit 'Use this when...' condition (2 to 6 countries, distinct salaries, monthly or annual) and gives a matching 'Do not use when the salary is the same in every country (use compare_countries)' exclusion naming the sibling. Both the trigger and the anti-trigger are stated, not implied.

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.