Skip to main content
Glama

AI Chili Video Generation Studio & API

get_credit_balance

Check spendable non-expiring credits on an AI Chili account using a chili_sk_* API key.

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": {
      "api_key": "<api_key>"
    },
    "name": "get_credit_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyYesAI Chili Bearer key prefixed with chili_sk_.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the auth requirement (chili_sk_* Bearer key) and that the operation is a read-style balance check with a scoped result (spendable, non-expiring). It says nothing about rate limits, permission scope beyond the key, whether expired or pending credits are excluded from the total, or what the response looks like.

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?

One sentence, front-loaded with the operation and resource, with the qualifying adjectives placed before the auth note. No filler or redundancy beyond the mild repetition of the key prefix already in the schema.

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 one-parameter read tool this is nearly sufficient, but with no output schema and no annotations the description should still hint at what a balance response contains (amount, currency, expiring vs non-expiring breakdown). The core behavior and auth requirement are covered, leaving a modest gap.

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 coverage is 100% and the single api_key parameter is already fully documented, including the chili_sk_ prefix. The description's mention of the key adds no meaning beyond the schema, so this sits at the baseline rather than above it.

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?

"Check spendable non-expiring credits on an AI Chili account" gives a specific verb (check) and resource (credit balance) plus a qualifying scope (spendable, non-expiring). It is clearly not any of the sibling video-generation or cost-estimation tools, though it never names a sibling to route against 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?

The purpose makes the when-to-use case obvious by implication, and the need for a chili_sk_* key is stated. There is no explicit guidance on when not to use it, no named alternative for related questions (e.g. estimating cost or checking plan limits), and no note on prerequisites or failure modes.

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.