Skip to main content
Glama

Rahul D Sarker: Marketing & RevOps Tools

RTO-Adjusted ROAS Calculator (India COD)

rto_adjusted_roas_calculator
Read-onlyIdempotent

Work out ROAS after Return-to-Origin (RTO) on cash-on-delivery orders: delivered revenue, RTO cost, RTO-adjusted ROAS and effective cost per delivered order. See the full version at https://rahuldsarker.co/calculators/rto-adjusted-roas-calculator

Input Schema

NameRequiredDescriptionDefault
aovYesAverage order value
spendYesAd spend for the period
ordersYesOrders placed from that spend
currencyNoISO 4217 code for money in the result, e.g. "USD", "INR", "EUR", "GBP". Omit to show plain numbers.
codRtoPctYesRTO rate on COD orders, as a percentage
codSharePctYesShare of orders paid cash on delivery, as a percentage
prepaidRtoPctYesRTO rate on prepaid orders, as a percentage
shippingPerRtoYesForward plus reverse shipping cost per RTO order

Output Schema

NameRequiredDescriptionDefault
urlYes
kindYes
toolYesThe calculator tool that produced this result
notesYes
titleYes
inputsYes
compactYes
metricsYesEvery "Label: value" line of the result; value is the first number on the line
currencyYes
benchmarksYesRule-of-thumb verdicts for the headline numbers
bookingUrlYes
calculatorYesSlug of the interactive calculator on rahuldsarker.co

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare the full safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds useful output semantics (what gets computed), but no interpretation guidance, assumptions, or edge-case behavior beyond that.

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?

Two sentences, front-loaded with the core computation. The trailing link to the 'full version' is promotional and does not help an agent invoke the tool, which slightly dilutes an otherwise tight description.

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?

An output schema exists, so return values need not be explained, and the schema covers all parameters. For a pure deterministic calculator with complete annotations, the description supplies what the agent needs; only explicit sibling routing is missing.

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 every parameter (spend, orders, aov, codSharePct, codRtoPct, prepaidRtoPct, shippingPerRto, currency) is already documented. The description adds no additional parameter meaning, 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?

Specific verb+resource: it computes ROAS adjusted for Return-to-Origin on COD orders, and it enumerates the outputs (delivered revenue, RTO cost, adjusted ROAS, cost per delivered order). This clearly separates it from the generic roas_calculator and roas_to_mer_converter, though it never explicitly names those siblings as alternatives.

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 context is implied by 'on cash-on-delivery orders' and the '(India COD)' framing, so an agent can infer the scenario. But there is no explicit when-to-use, when-not-to-use, or routing to roas_calculator for non-COD cases.

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