Skip to main content
Glama

Which plan keeps the most at my volume

compare_plans
Read-onlyIdempotent

Compares selling plans at your price and monthly sales: Payhip Free, Plus and Pro, Gumroad direct and Discover, Ko-fi Shop and Ko-fi Gold, and Shopify Basic billed monthly or yearly. For each plan: fees per sale, monthly plan cost and what you keep a month after both. Returns the cheapest plan at your volume, the break-even sales a month between tiers (such as Payhip Plus vs Free), and which plan keeps the most at each volume. Every number comes from dated, sourced fee rows; a plan without sourced numbers is left out and named. US sellers, domestic cards. Read-only; sells nothing.

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": {
      "price": "<price>",
      "sales_per_month": "<sales_per_month>"
    },
    "name": "compare_plans"
  }
}

Input Schema

NameRequiredDescriptionDefault
costNoOptional cost per item sold in USD, so the answer adds profit_per_month_usd and counts it in sales_to_cover_plan_cost. Default 0.
priceYesYour sale price per item in USD before buyer sales tax, in whole cents, e.g. 17.
platformsNoOptional filter: families (payhip, gumroad, ko-fi, shopify) and/or plan ids (payhip-free, payhip-plus, payhip-pro, gumroad-direct, gumroad-discover, ko-fi-shop, ko-fi-gold, shopify-basic-monthly, shopify-basic-yearly). Leave it out to compare every plan.
processorNoCard processor for the plans where you add your own (Payhip plans, Ko-fi Shop and Ko-fi Gold). "stripe" = 2.9% + $0.30 (default). "paypal" = PayPal Checkout or Guest Checkout, 3.49% + $0.49. Domestic cards only. Gumroad and Shopify charge their own processing.
sales_per_monthYesHow many sales you make (or expect) in a month, a whole number, e.g. 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses real behavior: every figure traces to dated sourced fee rows, plans lacking sourced numbers are omitted and named rather than guessed, and the scope is limited to US sellers on domestic cards. That provenance and omission behavior is exactly the kind of thing an agent cannot infer from annotations.

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?

The verb and scope are front-loaded and every sentence carries information, but the plan roll-call ("Payhip Free, Plus and Pro, Gumroad direct and Discover...") is long and partly duplicates the platform enum in the schema. Dense and useful overall, slightly verbose in that enumeration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a moderately complex tool with five parameters, no output schema, and several conditional behaviors, and the description covers what is returned (fees per sale, plan cost, net kept, cheapest plan, break-even), the data-quality caveat, and the geographic/processor scope. An agent has everything needed to call it correctly and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, and the description adds a little context by tying the answer to "your price and monthly sales" and by noting the domestic-card assumption that governs the processor choice. It does not elaborate on the platforms filter or cost parameter beyond what the schema already states, so it stays near baseline with a small lift.

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?

Opens with a specific verb and scope ("Compares selling plans at your price and monthly sales") and then enumerates the exact plans covered, so an agent knows this is a cross-plan cost comparison rather than a raw fee lookup. The three named outputs (cheapest plan, break-even volume between tiers, best-keeper at each volume) further separate it from fees_breakdown or price_for_margin.

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?

The framing "at your price and monthly sales" plus "Returns the cheapest plan at your volume" makes the use case clear: decision questions about which plan to pick at a given volume. It also sets a boundary ("it sells nothing"), but it never explicitly names an alternative tool or states when a sibling such as fees_breakdown would be the better call.

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