Skip to main content
Glama

calculate_cost

Calculate monthly cost for a specific brand, tier, and anticipation

Input Schema

NameRequiredDescriptionDefault
tierYesBusiness tier (mei, pequeno, medio, grande)
brandYesBrand key (stone, cielo, mercado_pago, pagbank, sumup, infinitepay, ton, getnet)
antecipationNoInclude anticipation fee

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a pure computation but never states that it is side-effect free, requires no auth, or how the result should be interpreted; the only added behavior is the word 'monthly'.

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?

A single front-loaded sentence with no wasted words. It is efficient, though its brevity borders on under-specification rather than true conciseness.

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?

With no output schema and no annotations, the description should say what is returned (a number, a currency-formatted value, a breakdown?) and whether anticipation changes the shape of the result. It covers inputs adequately but leaves the return contract unaddressed.

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%, with each of the three parameters documented (including tier and brand vocabularies and the anticipation flag's meaning). The description adds no syntax or semantic detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb (Calculate) and resource (monthly cost) plus the three inputs that scope it, so an agent can tell it apart from compare_brands/get_brands/get_tiers. It is clear, though it never explicitly contrasts itself with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no statement of when to prefer compare_brands or get_tiers first, and no prerequisites (e.g., needing valid brand/tier keys from the sibling lookup tools). Usage is only implied by the parameter names.

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