Skip to main content
Glama

Estimate AI Chili PAYG Credits & OnlyChili Creator Earnings

estimate_video_cost
Read-onlyIdempotent

Calculate pay-as-you-go video credit costs, recommended credit packs, and optional OnlyChili creator revenue share from target duration, model, and audience projections.

Instructions

Deterministically calculate PAYG credit usage, recommended credit packs ($0 Free 25 cr, $9.90 Starter 150 cr, $29.90 Creator 460 cr, $49.90 Studio & API 780 cr), and optional OnlyChili Cinema 80% net creator revenue share.

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

Input Schema

NameRequiredDescriptionDefault
secondsNoTarget total video duration in seconds (default 15).
model_idNoModel ID ('h3-vdn' / 'h3-sol' default, or 'avatar-talk').
workflowNoFor avatar-talk: 'photo' adds +10 base-clip credits; 'talk' adds 0.
ppv_countNoProjected OnlyChili pay-per-view unlocks.
ppv_priceNoOnlyChili PPV unlock price in USD ($0.99-$500.00).
sub_priceNoOnlyChili monthly membership price in USD ($2.99-$99.99).
resolutionNoOutput resolution for h3-vdn rate estimation (default '768p').
ppv_unlocksNoAlias for ppv_count (monthly PPV episode unlocks).
subscribersNoProjected OnlyChili Cinema monthly subscribers.
script_unitsNoScript units for avatar-talk (billed at 0.2 credits per 5 script units, plus +10 on workflow 'photo').
ppv_price_usdNoAlias for ppv_price (PPV unlock price in USD).
sub_price_usdNoAlias for sub_price (monthly membership price in USD).
free_signup_credits_usedNoSet true if the 25 free sign-up credits have already been spent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral context beyond that: deterministic (non-LLM-guessed) results, an embedded credit-pack price table, and the 80% net revenue-share rule. However, with no output schema, it never says what the response actually contains, which is the main remaining gap.

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?

A single front-loaded sentence that wastes no words and packs the pricing tiers where an agent will see them first. It is dense to the point of being a run-on, but every clause (PAYG credits, packs, creator share) maps to real output dimensions.

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

Completeness3/5

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

For a 13-parameter, zero-required estimation tool with no output schema, the description establishes what is computed and the pricing model, which is the essential part. It does not explain how defaults combine when only some inputs are supplied, nor what the returned estimate structure looks like, leaving an agent to infer the result shape.

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 documents every parameter including the enum values, defaults, alias pairs (ppv_count/ppv_unlocks, ppv_price/ppv_price_usd) and default behavior. The description only adds the credit-pack tiers, which are not tied to specific parameters, so baseline 3 is appropriate.

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?

The description states a specific verb, 'deterministically calculate', with three concrete resources: PAYG credit usage, recommended credit packs, and the optional OnlyChili creator revenue share. This distinguishes it from sibling tools like get_credit_balance (actual balance) and plan_video_generation, though it never names those siblings explicitly.

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 tool is clearly a pre-commitment cost/earnings estimator, and 'deterministically' signals it is for planning rather than acting. There is no explicit statement of when to prefer it over plan_video_generation or get_credit_balance, and no exclusions for cases where the estimate does not apply.

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