Skip to main content
Glama

FalaZuki Finance BR

calculate_rpa

Calcula as retenções do RPA (Recibo de Pagamento a Autônomo): INSS de 11% limitado ao teto do mês, IRRF pela tabela progressiva vigente, ISS do município, o líquido do prestador e o custo total da empresa com a patronal de 20%. Aceita reference_date pra refazer um recibo antigo com as tabelas da época. Parâmetros obrigatórios: gross_value. Opcionais: dependents, iss_rate, other_monthly_base, reference_date. Use exatamente estes nomes, em inglês.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iss_rateNoAlíquota de ISS do município do serviço, em % (0 quando o autônomo tem inscrição municipal com ISS fixo)
dependentsNoDependentes do prestador, pra dedução do IRRF
gross_valueYesValor bruto do serviço no recibo, em R$
reference_dateNoData de referência (aaaa-mm-dd) pra usar as tabelas vigentes NAQUELA data. Omitida, usa as de hoje.
other_monthly_baseNoBase de contribuição que o prestador JÁ usou no mês em outras fontes (CLT, outros RPAs): reduz o teto restante do INSS

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations present, the description carries the full behavioral burden. It discloses key calculation rules: INSS of 11% limited to the monthly ceiling, IRRF via the progressive table, ISS per municipality, a 20% employer contribution, and the effect of other_monthly_base on the INSS ceiling. It also explains that reference_date switches to the tables of that date. It does not cover return-value shape or rounding behavior, but the disclosed rules are substantive.

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 compact and front-loads the core calculation components in the first sentence, followed by the historical reference feature and parameter listing. Each sentence earns its place, though the required/optional list slightly overlaps with the schema. Overall it is efficient and well-ordered.

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?

Given five parameters, a tax calculation, and no output schema, the description explains the calculation logic, parameter purposes, and historical behavior sufficiently for correct invocation. It does not describe the response format, which would be useful, but that absence is mitigated by the tool being a calculator and the rich parameter descriptions in the schema.

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 schema already explains every parameter. The description adds value by explicitly listing required versus optional parameters and instructing the agent to use exact English names, which is useful because the description is in Portuguese. It does not add materially new semantics beyond the schema for the parameter effects.

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 the specific verb 'Calcula' and the resource 'retenções do RPA', then enumerates exactly what is computed: INSS, IRRF, ISS, net amount, and total company cost. This scope clearly differentiates it from siblings like calculate_inss_autonomo and check_irrf_deduction by covering the whole RPA calculation rather than a single component.

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 provides clear context by naming the full RPA calculation as the tool's domain, so an agent can infer this is the right choice when a complete RPA receipt is needed. It also highlights a specific use case (reprocessing old receipts via reference_date). However, it does not explicitly contrast with alternatives or state when not to use it, such as when only the INSS portion is needed.

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