Skip to main content
Glama

Check an EOR or payroll quote

reconcile_quote
Read-only

Use this when the user shares a quote, offer, invoice or cost breakdown from an Employer of Record, PEO or payroll provider and asks whether it is fair, correct, overpriced or what it includes (e.g. "here is my EOR quote for Germany: salary 5,900, employer contributions 1,350, fee 560 a month, is it honest?", "voici le devis de mon EOR, est-il correct ?"). Checks the quote lines against the statutory ledger of the country at the same salary: expected and quoted amount per statutory line, statutory lines missing from a detailed quote, charges with no statutory counterpart, and the gap split into fee lines, charges above the statutory ledger and the salary-line difference (often an exchange-rate margin). When the quote gives employer charges as one total, that total is compared with the statutory total and the expected line-by-line breakdown is returned. A monthly quote in a country paying more than 12 monthly salaries a year (e.g. 14 in Spain) is read against one monthly payment, the extra payments being owed outside its lines. Amounts given in the local currency come back in it, with the USD in brackets. Pass the amounts as written on the quote; the provider's name is never needed. Do not use without figures from the user. 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>",
      "salary": "<salary>",
      "lines": "<lines>"
    },
    "name": "reconcile_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesYesEvery line of the quote, 1 to 60, one object per line (salary, employer charges, provider fees, other), in the order written; a line printed as one total stays one line
periodNoWhether the quote line amounts are per month or per year (one employee)month
salaryYesGross salary the quote is for, a year unless salary_period is "month"
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
amounts_currencyNoCurrency of the quote line amountsUSD
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
readingYes
summaryYes
salary_lineNo
missing_noteNo
quote_detailYes
salary_basisNo
gap_breakdownYes
per_month_usdYes
aggregate_linesNo
per_month_localNo
expected_breakdownNo
missing_from_quoteYes
not_in_statutory_ledgerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / lines / description
      Added value: +"Every line of the quote, 1 to 60, one object per line (salary, employer charges, provider fees, other), in the order written; a line printed as one total stays one line"
    • addedInput schema / properties / lines / items / properties / amount / description
      Added value: +"The amount as written on the quote for one employee, in amounts_currency and per period; a discount or credit is negative"
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: handling of single-total employer charges, how a monthly quote in a 13th/14th-month country (e.g. Spain) is read, local-currency return with USD in brackets, the data snapshot date, and the 'cost comparison, not legal or tax advice' caveat.

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 trigger and examples before the mechanics, which is the right order. It is a dense block of prose with several enumerated sub-cases, and a couple of clauses (sample phrases in two languages, the Spain example) could be tightened, but each sentence carries operational information.

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 9-parameter tool with a nested line array and an output schema, the definition covers triggering, input conventions (amounts as written, one total stays one line), edge cases (partial totals, extra monthly payments, currency), and output shape at a high level. Nothing an agent needs 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 coverage is 100% with rich per-property descriptions, enums and defaults, so the baseline is 3. The description adds only a light operating rule — 'Pass the amounts as written on the quote; the provider's name is never needed' — without explaining period, currency pairing (salary_currency vs amounts_currency) or payments_per_year beyond what the schema already documents.

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 — checking a quote from an EOR, PEO or payroll provider against the statutory ledger of the country at the same salary — and enumerates the concrete checks performed (expected vs quoted per statutory line, missing statutory lines, non-statutory charges, gap split into fees/overages/salary difference). This is clearly distinct from siblings like employer_cost or compare_offers.

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 a precise trigger (user shares a quote, offer, invoice or cost breakdown and asks whether it is fair, correct, overpriced or what it includes) with two sample utterances, plus an explicit exclusion: 'Do not use without figures from the user.' It does not name a sibling alternative for the overlapping case of comparing two offers, which keeps it from a 5.

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.