Skip to main content
Glama

FalaZuki Finance BR

check_irrf_deduction

Confere se o IRRF retido de um empregado CLT bate com o esperado pela tabela vigente NA COMPETÊNCIA (cobertura verificada desde jan/2007, incluindo o desconto simplificado desde mai/2023 e o redutor da Lei 15.270/2025 em 2026). Reconstrói a base (bruto menos INSS informado e dependentes, ou o simplificado quando maior), compara informado × esperado e devolve a diferença com a derivação passo a passo, a norma e a fonte oficial conferida. Diferenças de até R$ 0,10 são tratadas como arredondamento de folha, declaradas e nunca apagadas. Se houver pensão alimentícia ou outras deduções na base, recusa declarando: comparar sem elas apontaria diferença falsa. Parâmetros obrigatórios: gross_salary, inss_deduction, informed_deduction, reference_date. Opcionais: dependents, has_other_deductions. Use exatamente estes nomes, em inglês.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dependentsNoDependentes declarados na fonte pagadora
gross_salaryYesRendimento bruto tributável do mês, em R$
inss_deductionYesO INSS descontado no mesmo holerite, em R$ (dedução legal da base)
reference_dateYesQualquer dia dentro da competência a conferir, aaaa-mm-dd
informed_deductionYesO IRRF que consta no documento, em R$
has_other_deductionsNoExiste pensão alimentícia ou outra dedução na base do IRRF? Se sim, a conferência recusa em vez de comparar errado

TDQS

A4.4/5.0
Behavior5/5

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

Since annotations are absent, the description carries the full burden, and it delivers: it explains the reconstructed base, informed vs expected comparison, step-by-step derivation, legal norm and official source, the R$0.10 rounding tolerance, and the explicit refusal behavior. An agent gets a realistic model of what the tool does and when it will or will not produce a result.

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 description is dense but organized: purpose, coverage scope, computation, tolerance, refusal, and parameter list all appear in logical order. The parameter restatement at the end is helpful but slightly redundant with the schema.

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?

Even without an output schema, the description explains what the tool returns: the difference plus step-by-step derivation, norm, and official source. It also covers important edge cases and behavioral boundaries, so an agent has enough context to invoke it correctly and interpret results.

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%, so the baseline is 3. The description only restates which parameters are required/optional and instructs the caller to use exact English names; it does not add semantic meaning beyond the schema's descriptions.

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: 'Confere se o IRRF retido de um empregado CLT bate com o esperado pela tabela vigente'. This immediately identifies the tool as an audit/verification tool rather than a generic calculator, distinguishing it from siblings like calculate_net_salary or simulate_income_tax.

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?

The description states the intended context clearly: checking IRRF for CLT employees against the applicable table. It also gives an explicit when-not condition: if alimony or other deductions are present, the tool refuses rather than producing a false comparison. It does not name alternative sibling tools, so it falls short of full routing guidance.

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.

TDQS

B3.2/5.0
Disambiguation2/5

Many tools are clearly distinct, but the set contains several near-identical clusters: calculate_dividend_income_goal and calculate_dividend_yield both answer 'how much capital is needed to reach a dividend income target', and calculate_real_salary, calculate_raise_vs_inflation, and calculate_salary_time_value overlap heavily on salary/inflation comparisons. Generic tools like compare_investments and compare_with_cdb also blur the boundary with the many specific yield calculators.

Naming Consistency3/5

Most tools follow a clear verb_noun snake_case pattern with verbs like calculate_, get_, check_, compare_, and advise_. However, the object language is inconsistent (calculate_ganho_capital_imovel alongside calculate_car_affordability), and can_i_quit_job breaks the command-style pattern with a question.

Tool Count1/5

At 114 tools, the server is extremely over-scoped for an MCP surface; an agent cannot reasonably hold all these options in context. The inclusion of a search_calculator tool to route among the others is a strong signal that the tool set itself needs partitioning.

Completeness4/5

The surface is very comprehensive for Brazilian personal finance: employment, taxes, investments, debt, real estate, vehicles, small business, insurance, and market-data queries are all covered. A few minor gaps exist, such as no dedicated generic boleto-fine calculator or consolidated investment comparison engine, but no core workflow feels badly stranded.

Resources