Skip to main content
Glama

FalaZuki Finance BR

calculate_opportunity_cost

Calcula quanto um gasto recorrente viraria se fosse investido. Ex: café de R$10/dia → quanto dá em 10 anos investido. Parâmetros obrigatórios: daily_expense. Opcionais: annual_return, years. Use exatamente estes nomes, em inglês.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearsNoPeríodo em anos
annual_returnNoRetorno anual do investimento (%, padrão 10%)
daily_expenseYesGasto diário em R$

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are present, so the description carries the disclosure burden. It transparently signals that the tool is a pure calculation ('Calcula') and hints at the output through the example, but it does not reveal the calculation assumptions, the return format, or whether the result includes the contributions. This is acceptable for a simple calculator but not fully transparent.

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?

The description is compact and front-loaded with the core purpose, followed by a helpful example and minimal parameter guidance. Each sentence earns its place, with no filler or redundant marketing language.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is sufficient for invoking the tool: it states the purpose, gives an example, and identifies required vs optional parameters. However, with no output schema and no annotations, it does not specify the exact return value, units, or compounding assumptions, leaving an agent without a complete picture of the expected response.

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 description coverage is 100%, so the baseline is 3. The description adds only modest value beyond the schema: it repeats required/optional status, warns to use exact English parameter names, and illustrates daily_expense with the coffee example. It does not provide new semantic detail about parameter formats or relationships.

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 states a specific verb ('Calcula') and a clear resource: converting a recurring expense into the amount it would become if invested. The concrete example (R$10/day coffee → 10-year invested total) makes the tool's purpose unmistakable and distinguishes it from generic sibling calculators like calculate_compound_interest.

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 clearly defines when to use the tool: whenever a recurring expense should be projected as if invested. It reinforces usage with an example and lists required/optional parameters. However, it does not explicitly say when not to use it or how it differs from similar investment/opportunity-cost siblings, stopping short of full 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.

Resources