Skip to main content
Glama

FalaZuki Finance BR

calculate_lci_lca

Simula LCI ou LCA (isentas de IR) com o CDI de hoje do Banco Central e calcula o CDB equivalente: qual percentual do CDI um CDB precisaria pagar pra empatar com a letra no mesmo prazo. Parâmetros obrigatórios: principal, cdi_percent, months. Use exatamente estes nomes, em inglês.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthsYesPrazo em meses (1-360)
principalYesValor investido em R$
cdi_percentYesPercentual do CDI que a LCI/LCA paga (ex: 90)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does add useful behavioral context: it says the tool uses 'o CDI de hoje do Banco Central', treats LCI/LCA as IR-exempt, and computes an equivalent CDB rate. It does not state assumptions, return format, or limitations, so coverage is adequate 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.

Conciseness5/5

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

Two sentences with no fluff; the main function and output are front-loaded and the parameter naming reminder is a single clause. Every sentence earns its place.

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 three-parameter calculator with full schema coverage, the description supplies the missing context: the BC/CDI data source, the tax exemption premise, and the equivalence question being answered. The lack of an explicit output format is a minor gap for this simple numeric calculation.

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 provides 100% coverage with descriptions for principal, cdi_percent, and months, so the description needs little extra. The note 'Use exatamente estes nomes, em inglês' adds a naming/language instruction but no new semantic detail beyond the schema.

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 'Simula LCI ou LCA (isentas de IR)' and defines the tool's output: 'calcula o CDB equivalente' and 'qual percentual do CDI um CDB precisaria pagar pra empatar'. This is specific about action, resource, and result, though it doesn't explicitly name sibling tools or contrast with them, so it loses the top score.

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?

The description makes the intended scenario clear — LCI/LCA simulation with today's BC CDI and CDB equivalence — so an agent can infer when it applies. However, it offers no explicit when-to-use versus alternatives such as compare_with_cdb or calculate_cdi_yield, nor any exclusion criteria.

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