Skip to main content
Glama

FalaZuki Finance BR

calculate_iof_resgate

Calcula quanto o IOF come de um resgate feito antes de 30 dias (caixinha, CDB, Tesouro): a tabela regressiva do Decreto 6.306 no dia exato, o IR de 22,5% sobre o restante, e quanto a mais fica esperando até o dia 30. Parâmetros obrigatórios: principal, days. Opcionais: cdi_percent. Use exatamente estes nomes, em inglês.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysYesDias corridos desde a aplicação (1-30)
principalYesValor aplicado em R$
cdi_percentNoPercentual do CDI que a aplicação paga (100 = CDI cheio)

TDQS

A4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the disclosure burden. It does disclose the meaningful behavior: it applies the regressive IOF table, deducts 22.5% IR on the remainder, and even compares against waiting until day 30. That is substantial behavioral information for a calculator with no side effects.

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

Conciseness5/5

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

One dense, front-loaded sentence states the purpose and calculation scope, followed by a compact parameter note. Every clause earns its place and the critical 'before 30 days' condition appears at the beginning.

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 simple deterministic calculation with no output schema, the description gives the legal basis, the assets covered, and the parameters. It is complete enough for an agent to select the tool, though it does not specify the shape of the return value.

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 input schema already documents all three parameters at 100% coverage (principal, days, cdi_percent). The description restates which are required/optional and insists on exact English parameter names, which is useful but adds no semantic depth beyond the schema, so the baseline of 3 is appropriate.

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 opens with a specific action and resource: 'Calcula quanto o IOF come de um resgate feito antes de 30 dias' and lists the exact pieces of the calculation (Decreto 6.306 regressive table, 22.5% IR, waiting comparison). It is clearly not a tautology, but it never names or contrasts a sibling tool, so it stops one step short of full differentiation.

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 a clear trigger context: redemptions before 30 days for caixinha, CDB, and Tesouro. That tells an agent when to reach for it. It does not explicitly list exclusions or name alternatives, so it earns context but not the upper bound.

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