Skip to main content
Glama

Mode VC Chart: Arena Rating Gap: Google Leads; Anthropic Trails by 22 Pts

AI Agent Outcome Pricing & Gross Margin Calculator

calc_ai_agent_pricing_margin
Read-onlyIdempotent

Models AI agent revenue vs multi-turn LLM token spend, prompt caching, tool API fees, and Stripe fees across live GPT, Claude, Gemini, DeepSeek and Grok prices. Same math as https://modevc.com/tools/ai-agent-pricing-gross-margin-calculator.

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": "calc_ai_agent_pricing_margin"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoModel ID. Default claude-sonnet-5-5.
cache_hit_pctNoPrompt cache hit rate percent. Default 60.
pricing_modelNoPricing model. Default outcome.
steps_per_taskNoAverage LLM reasoning turns per task. Default 6.
active_customersNoPaying customer accounts. Default 120.
price_per_task_usdNoPrice per resolved task USD. Default 0.75.
input_tokens_per_stepNoInput tokens per step. Default 3500.
output_tokens_per_stepNoOutput tokens per step. Default 450.
tool_cost_per_task_usdNoExternal browser/tool API cost per task USD. Default 0.02.
tasks_per_customer_monthNoCompleted tasks per customer/month. Default 400.

Output Schema

NameRequiredDescriptionDefault

No arguments

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 readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful context beyond that — that prices are 'live' across five named providers and that the math matches a published calculator — but says nothing about price freshness, caching of rates, or whether Stripe fees are fixed or configurable.

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 tight sentences, front-loaded with the modeling scope and followed by the provenance link; nothing is padded. Slightly dense with comma-separated cost categories, but every clause carries information.

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 an output schema present, return values need not be explained, and all 10 inputs are fully documented in the schema. The description is complete enough to call the tool correctly, with only minor gaps around rate freshness and the unparameterized Stripe fee assumption.

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% with defaults and bounds on every one of the 10 parameters, so the schema carries the load and baseline 3 applies. The description frames the domain (multi-turn spend, prompt caching, tool fees) but adds no per-parameter meaning, and notably mentions Stripe fees that have no corresponding parameter.

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?

States a specific verb ('Models') and a concrete resource (AI agent revenue vs multi-turn LLM token spend, caching, tool API fees, Stripe fees) and names the providers covered. It is clearly a pricing/margin model, though it never distinguishes itself from the nearby calc_llm_inference_cost sibling, leaving the agent to infer the boundary.

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 only implied: the description tells you what is modeled, so an agent can infer 'use this when you want agent unit economics,' but there is no explicit when-to-use, when-not-to-use, or named alternative. The reference to the public calculator URL gives context but not selection guidance.

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