Skip to main content
Glama

Compare checkouts side by side

compare_checkouts
Read-only

Two to four checkouts side by side over the last N days (default 30): visits, orders, conversion, order bump and upsell take rates, average order, revenue and refunds. Real orders only. Use it to see which offer converts or earns more before suggesting a change to the weaker one.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "products": "<products>"
    },
    "name": "compare_checkouts"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back, 1-365. Default 30.
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.
productsYes2 to 4 checkout ids or slugs.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact, 'Real orders only' (test/manual orders excluded), plus the default 30-day window, but says nothing about data freshness, currency, or how missing checkouts are handled.

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?

Two sentences, front-loaded with the resource and window, then the metric list, then the use case. No filler and no restatement of the tool 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, listing the returned metrics in the description is the right compensation and is done well. The main residual gap is that the account parameter's client-account behavior is only described in the schema, not the description.

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 schema already explains days (1-365, default 30), account, and the 2-to-4 product id/slug list. The description only restates the same default and range, adding no format or edge-case guidance beyond the structured fields.

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?

Names a specific verb (compare) and resource (checkouts) and enumerates exactly which metrics come back (visits, orders, conversion, bump/upsell take rates, AOV, revenue, refunds). An agent can distinguish it from funnel_stats or revenue_by_month without opening the schema.

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?

Gives a clear decision context: use it to see which offer converts or earns more before suggesting a change to the weaker one. It stops short of naming an alternative tool or stating when not to use it, so the routing guidance is strong but not exhaustive.

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.