Skip to main content
Glama

euroref — European government reference data

cost_hire

Read-onlyIdempotent

PAID ($0.50). Cost this hire: one cited dossier for a salary - wage-floor verdict, employer and employee contributions (or PAYE net pay for NG/KE), employer cost, optional income tax on taxable_income and first working day on or after start_date. Countries here: DE, ES, GB, IT, PL. Anything we cannot answer in full is refused free (coverage_gap, no_charge). Shares the 3 free calls per IP per day with the answer tools. Pass api_key if you have one (card checkout at /pricing); otherwise the result is the x402 payment requirement. Optional receipt (boolean, default false): on a paid success, include an Ed25519 answer receipt at no extra USDC. An answer receipt is not a series certified extract (GET /v1/certified/{country}/{series} is $0.10 and is not an MCP tool) and is not legal advice. Verify with verify_answer_receipt against /certified/public-key.

Input Schema

NameRequiredDescriptionDefault
grossYesGross pay, local currency
periodNoDefault month
api_keyNoAPI key (bypasses x402; metered for invoicing)
countryYesISO country code with a full cost-this-hire dossier
receiptNoDefault false. When true, a paid success includes an Ed25519 answer receipt (kind answer_receipt) at no extra USDC. Unpaid 402 and free refusals do not include one. Not a series certified extract (GET /v1/certified/{country}/{series} at $0.10; that SKU is not an MCP tool).
start_dateNoYYYY-MM-DD; returns the first working day on or after it
subdivisionNoContribution region where held (e.g. CA-QC)
hours_per_weekNoLets an hourly wage floor be checked
taxable_incomeNoAnnual taxable income; applies the income-tax schedule

Output Schema

NameRequiredDescriptionDefault
jobNo
errorNoPresent on a free refusal or error; no charge
statusNo
evidenceNo
no_chargeNo
price_usdNo
disclaimerNo
how_to_payNo
bind_seriesNo
explanationNo
x_next_bindNo
http_endpointNo
payment_requiredNotrue when the call needs payment; how_to_pay explains x402 or card

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, openWorld, non-destructive), and the description layers on substantial extra behavior: the $0.50 price, the free-refusal policy, the IP rate limit, the api_key/x402 auth paths, the optional Ed25519 receipt (and that it is not a certified extract or legal advice), and the verify_answer_receipt follow-up. This is well beyond what structured fields provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and every clause is informative, but the text is a dense block mixing pricing, payment, receipt, certified-extract, and legal-advice caveats. The receipt/certified-extract disclaimer is repeated between description and schema, and the caveat tail could be tightened without losing any actionable detail.

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?

With an output schema present and 100% parameter coverage, return values and field-level syntax don't need restating, and the description does supply the payment model, refusal semantics, supported countries, and receipt flow. It's comprehensive for a paid, multi-country computation tool; only sibling disambiguation is absent.

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: it explains that receipt defaults to false and yields an Ed25519 answer receipt only on a paid success, and it clarifies purpose for taxable_income (applies the income-tax schedule), start_date (first working day on or after), and hours_per_week (hourly wage-floor check). The api_key-versus-x402 behavior is also described only in prose, not the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb+resource ('Cost this hire') and enumerates the output ('wage-floor verdict, employer and employee contributions..., employer cost, optional income tax...'), so an agent knows exactly what it produces. It also names the served countries (DE, ES, GB, IT, PL). However, it never differentiates itself from close siblings like compute_employment_cost, hire_compare, or check_minimum_wage, leaving the agent to infer which one applies.

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?

Usage context is clear: pass api_key or fall back to the x402 payment requirement, three free calls per IP per day shared with the answer tools, and unpaid/incomplete requests are refused free with coverage_gap. What's missing is explicit routing versus the sibling cost/wage tools, so the agent gets when but not 'when instead of compute_employment_cost'.

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