Skip to main content
Glama

ASO Unit Economics

aso_unit_economics
Read-onlyIdempotent

Calculate subscription margins, break-even points, and pricing warnings from weekly/yearly prices, credits, and AI costs during early app pricing decisions.

Instructions

Compute margin, break-even and warnings from prices, credits and AI cost (pure calculation, no network).

Use when: idea/scaffold stage pricing decisions. Not for: measured-cost economics for a built app (use pricing_unit_economics). apple_cut is 0.15 for Small Business, else 0.30. Returns: {ok, weekly, yearly, margins, break_even, warnings}.

Input Schema

NameRequiredDescriptionDefault
apple_cutNoApple's commission as a fraction: 0.15 (Small Business Program, default) or 0.30.
weekly_priceNoWeekly subscription price in USD (default 7.99).
yearly_priceNoYearly subscription price in USD (default 49.99).
weekly_creditsNoCredits per week on the weekly plan (default 10).
ai_cost_per_creditNoAI provider cost per credit in USD (default 0.003).
yearly_monthly_creditsNoCredits per month on the yearly plan (default 15).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.1.5
    • addedInput schema / properties / ai_cost_per_credit / description
      Added value: +"AI provider cost per credit in USD (default 0.003)."
    • addedInput schema / properties / apple_cut / description
      Added value: +"Apple's commission as a fraction: 0.15 (Small Business Program, default) or 0.30."
    • addedInput schema / properties / weekly_credits / description
      Added value: +"Credits per week on the weekly plan (default 10)."
    • addedInput schema / properties / weekly_price / description
      Added value: +"Weekly subscription price in USD (default 7.99)."
    • addedInput schema / properties / yearly_monthly_credits / description
      Added value: +"Credits per month on the yearly plan (default 15)."
    • addedInput schema / properties / yearly_price / description
      Added value: +"Yearly subscription price in USD (default 49.99)."
  2. First observedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered; the description reinforces this with 'pure calculation, no network'. It also surfaces the domain rule that apple_cut is 0.15 for Small Business else 0.30, which is genuine behavioral context beyond the annotations.

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?

Front-loaded with the core purpose, then compact 'Use when / Not for / Returns' segments; every sentence carries information and there is no filler despite covering purpose, routing and output shape.

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?

For a no-required-param, pure-calculation tool with full schema coverage and an output schema, the description supplies the missing routing context and the domain-specific apple_cut rule. An agent has everything needed to select and invoke it correctly.

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 (including defaults and the Small Business cut) is already documented in the schema. The description only summarizes the input domain as 'prices, credits and AI cost' and largely repeats the apple_cut rule, adding little beyond the structured field text.

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?

States a specific verb (Compute) plus the exact outputs (margin, break-even, warnings) and inputs (prices, credits, AI cost), and adds a scoping qualifier ('pure calculation, no network'). It explicitly names the sibling it is not (pricing_unit_economics), so an agent can discriminate it from the large tool list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Contains explicit 'Use when: idea/scaffold stage pricing decisions' and 'Not for: measured-cost economics for a built app (use pricing_unit_economics)', giving both the trigger condition and the named alternative. Nothing is left to inference.

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

Deploy Server

Other Tools