Skip to main content
Glama

Calcular Seguro-Desemprego (CLT, Doméstico e Resgatado)

calcular_seguro_desemprego
Read-onlyIdempotent

Calculates unemployment insurance eligibility, installment count, and benefit amount from salary and work-history inputs for Brazilian workers seeking a benefit simulation.

Instructions

Calcula elegibilidade, quantidade de parcelas e valor (piso/faixas/teto) do benefício.

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": {
      "perfil": "<perfil>"
    },
    "name": "calcular_seguro_desemprego"
  }
}

Input Schema

NameRequiredDescriptionDefault
perfilYes
data_referenciaNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the non-mutating, deterministic nature is covered. The description adds the regulatory flavor (floor/brackets/ceiling, eligibility) but doesn't mention that inputs must be anonymous, whether results vary with data_referencia, or any limits on repeated calls. Some value beyond annotations, but not rich.

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?

One compact sentence, front-loaded with the verb and the three outputs. It is efficient and free of filler, though the parenthetical '(piso/faixas/teto)' is jargon that adds little for an agent.

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 annotations covering safety/idempotency and an output schema handling return values, the description mainly needs to state what is computed — which it does. It is less complete on eligibility preconditions (e.g., dispensa_sem_justa_causa interplay with modalidade), but the structural richness of the nested schema carries most of that burden.

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?

The top-level schema lists only perfil and data_referencia, and its narrated coverage is reported as 0%, but the nested SeguroDesempregoInput fields do carry their own per-field descriptions in the schema. The tool description contributes nothing about parameter meaning (e.g., that modalidade drives different windows, or that data_referencia picks the benefit's reference year), so it does not compensate for the coverage gap.

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 names a specific verb+resource ('Calcula ... seguro-desemprego') and enumerates the computed outputs: eligibility, number of installments, and value (floor/brackets/ceiling). It is clearly distinct from siblings like calcular_bolsa_familia or simular_aposentadoria_inss, though it does not explicitly contrast itself with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'Calcula elegibilidade, quantidade de parcelas e valor' — the agent can infer this is the simulation step for unemployment insurance. However, there is no explicit when-to-use, when-not-to-use, or routing guidance against the sibling calculators.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.