Skip to main content
Glama

upGrowth Growth Toolkit

ROAS and break-even ROAS

roas_check
Read-onlyIdempotent

Calculates return on ad spend from ad revenue and ad spend, and the break-even ROAS implied by gross margin, then says whether the campaign covers its product cost.

Input Schema

NameRequiredDescriptionDefault
ad_spendYesAd spend for the same period, in currency units.
currencyNoISO currency code for display, for example INR, USD or AED. Defaults to INR.INR
ad_revenueYesRevenue attributed to the ads, in currency units.
gross_margin_pctYesGross margin as a percentage.

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?

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered. The description adds that it produces a verdict on whether the campaign covers its product cost, but it does not describe the shape or semantics of that verdict or how currency affects the numbers. Given annotations carry the safety burden, this is adequate rather than 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?

One front-loaded sentence that names the computation, the derived metric, and the conclusion. No filler, no repetition of the title.

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 no output schema, the description must convey what comes back, and it does name both computed values plus a coverage verdict. It stops short of explaining the verdict's exact wording, formatting, or the relationship between the two returned ROAS figures, which leaves a small gap for a tool whose only output signal is prose.

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 all four parameters are already documented in the schema, including the INR default. The description maps the inputs to their roles ('break-even ROAS implied by gross margin'), which adds slight meaning beyond the schema but no format or edge-case guidance.

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 states a specific verb-and-resource pair: it computes ROAS and break-even ROAS from named inputs and adds a coverage verdict. That distinguishes it from sibling metrics tools like acos_check or campaign_roi by formula, though it never names those siblings explicitly.

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?

Usage is implied by the formula (ROAS inputs in, break-even comparison out), but there is no explicit guidance on when to pick this over acos_check, campaign_roi, or break_even. An agent must infer the choice from the input vocabulary.

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.