Skip to main content
Glama

RealMarket LATAM Fit

Calculate LATAM market-entry test economics

calculate_latam_test_economics
Read-onlyIdempotent

Calculate contribution per sale and sales required to recover an entry-test budget, plus observed customer acquisition cost when both spend and new paying customers are supplied. All monetary inputs must use the same currency. This is arithmetic for a business experiment, not a revenue forecast or investment recommendation.

Input Schema

NameRequiredDescriptionDefault
currencyYesSingle currency code for every monetary input; no exchange conversion is performed.
test_budgetYes
observed_spendNo
revenue_per_saleYes
observed_customersNo
variable_cost_per_saleYes

Output Schema

NameRequiredDescriptionDefault
currencyYes
decisionYes
formulasYes
cac_statusYes
limitationYes
observed_cacYes
break_even_salesYes
contribution_per_saleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world behavior, so the description only needs to add computation semantics. It does add two useful traits beyond the annotations: no exchange conversion is performed, and observed CAC is only produced when both spend and customer counts are supplied — plus a clear interpretive limit on the results.

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?

Three sentences with the output definition and the currency constraint front-loaded, followed by the scope disclaimer. Dense and free of filler, though the opening sentence packs three separate outputs into one long clause.

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?

With a full output schema and rich annotations supplied, the description does not need to explain return values or safety. Its remaining gap is edge-case behavior — e.g. what happens when variable cost exceeds revenue per sale (zero or negative contribution) and therefore an unrecoverable budget — which matters for an arithmetic tool an agent will call with arbitrary inputs.

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 only 17%, so the description must carry most of the parameter burden. It compensates for the currency parameter (single-currency, no conversion) and explains the coupling of observed_spend and observed_customers, but says nothing about revenue_per_sale, variable_cost_per_sale, or test_budget beyond their self-descriptive names.

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 names a specific verb ('calculate') and enumerates the concrete outputs: contribution per sale, sales required to recover the test budget, and observed CAC. It is clearly distinct from a readiness-comparison tool, but it never names the sibling compare_latam_market_readiness, so the differentiation is implicit rather than stated.

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 usable precondition ('all monetary inputs must use the same currency') and an explicit scope exclusion ('not a revenue forecast or investment recommendation'), which tells the agent when the output should and should not be relied upon. It does not, however, say when to prefer this over the sibling readiness tool.

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