Skip to main content
Glama

gen_check_credit_budget

Check estimated credits against a session's Tripo budget before generating, then confirm or reserve spend to prevent exceeding the limit.

Instructions

Guard a Tripo spend against the per-session credit budget.

KB: see knowledge_base/31_GENERATIVE_CONTENT_PIPELINE.md#cost-guard Example: gen_check_credit_budget(estimated_credits=120, session_name="demo", operation="text_to_model", confirm_spend=True, reserve_credits=True)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationNotripo_generation
session_nameNodefault
confirm_spendNo
reserve_creditsNo
estimated_creditsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

There are no annotations, so the description carries full responsibility for disclosing side effects. It does not explain what confirm_spend or reserve_credits actually do, whether the tool mutates budget state, or what happens when the budget is exceeded. The KB reference is helpful but not sufficient behavioral disclosure.

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?

The description is compact and well-ordered: a one-sentence purpose, a KB pointer, and a concrete example. It avoids filler and is easy to scan.

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

Completeness2/5

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

For a tool with five parameters, zero annotations, and zero schema descriptions, the description is incomplete. It lacks side-effect information, threshold behavior, when to use it, and parameter semantics. The output schema exists, which covers return values, but the inputs and operational context remain under-specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, but it only shows an example invocation. The example hints at the meaning of estimated_credits, session_name, and operation, but it does not explain the semantics of confirm_spend and reserve_credits beyond their names.

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 clear purpose: guard Tripo spend against a per-session credit budget. The verb 'guard' is somewhat metaphorical, but the example call with estimated_credits, session_name, and operation clarifies what the tool is for and distinguishes it from sibling tools like gen_tripo_get_credit_balance that only fetch balances.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives such as gen_tripo_get_credit_balance or gen_tripo_text_to_model. The phrasing 'Guard a Tripo spend' and the example imply it should be called before spending, but there is no stated precondition, exclusion, or comparative routing.

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