Skip to main content
Glama

Subscription vs API break-even

compare_subscription_vs_api

Compares flat monthly AI subscription costs with pay-per-token API costs at a given daily message volume and returns the break-even messages per day.

Instructions

Compares a flat monthly AI subscription (ChatGPT Plus $20, Claude Pro $20, Cursor, Copilot and others, or any custom monthly price) with pay-per-token API cost at a given daily message volume, and gives the break-even messages per day. Mirrors https://aicostdesk.com/subscription-vs-api.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_subscription_vs_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoPlan id or name from AI Cost Desk, e.g. "claude-pro", "ChatGPT Plus", "Cursor Premium".
modelNoAPI model to compare against. Defaults to the plan vendor's mid-tier model (e.g. Claude Pro → claude-sonnet-5.5).
input_tokensNoInput tokens per message, including the conversation so far. Default 900.
monthly_priceNoUse this monthly price instead of / together with a known plan (USD per month).
output_tokensNoOutput tokens per message. Default 700.
cache_hit_rateNoShare of input tokens served from prompt cache, 0-1 or percent. Default 0.
days_per_monthNoDays per month you use it. Default 30.
messages_per_dayNoChat messages (or requests) per day. Default 40.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the disclosure burden; it does explain the comparison logic and that a break-even messages/day figure is produced, and it points to a reference calculator at aicostdesk.com that presumably defines the methodology. However, it doesn't say the tool is a stateless calculation with no side effects, doesn't state currency assumptions, and doesn't note whether results are estimates or include monthly totals.

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 comparison and the returned break-even figure, with the plan list kept tight. The site URL is a useful verification anchor, though the plan enumeration is slightly padded and could be trimmed to 'plus custom price'.

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?

For a no-annotation, no-output-schema calculator with eight optional parameters, the description covers the inputs conceptually and names the primary return value (break-even messages/day). Remaining gaps — currency convention, whether per-month totals are returned, and treatment of the model default — are minor but not fully closed.

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 coverage is 100%, so the baseline is 3, but the description adds value by enumerating supported plans (ChatGPT Plus $20, Claude Pro $20, Cursor, Copilot) and stressing that any custom monthly price works, which clarifies how the plan and monthly_price parameters interact. It stops short of explaining how model defaults are chosen or how cache_hit_rate affects the result.

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?

The description gives a specific verb ('compares') and both resources (flat monthly subscription vs pay-per-token API cost) plus the derived output (break-even messages per day). That scope is clearly different from the sibling cost/model-comparison tools, so an agent can select it 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the scenario described ('at a given daily message volume'), which tells the agent this is the tool for subscription-vs-API tradeoffs. There is no explicit when-not guidance or named alternative, so the agent must infer the boundary with calculate_api_cost and compare_two_models from names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.