Skip to main content
Glama

Uku Palgakalkulaator

Compare Estonian salary scenarios side by side

compare_salary_scenarios
Read-onlyIdempotent

Compare 2 to 6 Estonian salary scenarios in one call and get a compact table of gross, net, employer cost and the difference against the first scenario. Each scenario takes the same arguments as calculate_salary (amount, amount_type, year, pillar2, tax_free, tax_free_amount, pensioner, state_pension, pillar3, withheld, hours) plus an optional label; defaults holds the arguments every scenario shares. Use it for 'what if' questions: this year vs next year, II pillar 2% vs 6%, a raise from 2000 to 2300, net-to-gross for two offers. Every row is exactly what calculate_salary returns for those arguments.

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": {
      "scenarios": "<scenarios>"
    },
    "name": "compare_salary_scenarios"
  }
}

Input Schema

NameRequiredDescriptionDefault
defaultsNoArguments shared by every scenario, e.g. {"amount": 2000}. A scenario's own value wins.
languageNoLanguage of the readable breakdown. Pass the user's language: "et" for Estonian, otherwise "en".en
scenariosYes2–6 scenarios. Each is a calculate_salary argument object; fields left out come from `defaults`.

Output Schema

NameRequiredDescriptionDefault
rowsYes
countYes
calculator_urlYes
confidence_noteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: the 2–6 scenario bound, the row contents, that differences are computed against the first scenario, and that rows are equivalent to calculate_salary output. Ordering/error behavior for invalid scenario combos is not covered, keeping it short of a 5.

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?

The purpose, output shape and use cases are front-loaded, and the examples are compact and illustrative. The parenthetical enumeration of all eleven shared arguments largely duplicates the schema and is the one stretch that does not fully earn its space.

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?

For a nested, multi-scenario tool with an output schema and full annotation coverage, the description covers scope, output semantics, defaults inheritance and typical use cases. Only edge behavior (invalid scenario payloads, row ordering when labels collide) is unaddressed, which is a minor gap given the output schema exists.

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 documents every field, including the `defaults` merge rule ('A scenario's own value wins'). The description restates the argument list and the defaults concept in prose, which is a helpful digest but adds no semantic detail beyond what the schema provides; baseline 3 applies.

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 opens with a specific verb and resource ('Compare 2 to 6 Estonian salary scenarios in one call') and names the exact output ('compact table of gross, net, employer cost and the difference against the first scenario'). It also explicitly positions itself relative to the sibling calculate_salary, so an agent can distinguish batch comparison from a single calculation without opening either schema.

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?

It gives concrete when-to-use triggers with four worked examples ('this year vs next year, II pillar 2% vs 6%, a raise from 2000 to 2300, net-to-gross for two offers'), which is strong routing guidance. It never states the exclusion explicitly (e.g. 'for a single calculation, use calculate_salary'), though the sentence about every row matching calculate_salary implies it.

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