Skip to main content
Glama

Read or set the credit budget

flow_budget
Idempotent

Check credit ceiling and spend. Change the ceiling to control video generation budgets; reset spend as needed.

Instructions

Read the run's credit ceiling and spend, or change them. The ceiling is enforced before every approval: a generation that would exceed it is rejected and never charged. Raise it only on explicit instruction from whoever owns the account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoget
ceilingNoNew ceiling in credits; null removes it. Only for set_ceiling
response_formatNomarkdown for reading, json for programmatic usemarkdown
Behavior4/5

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

The description discloses behavioral details beyond annotations: the ceiling is enforced before every approval, causing rejection and no charge if exceeded. It also warns about authorization needs for raising the ceiling. Annotations indicate idempotent hint true, but description adds enforcement and authorization context.

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?

Two sentences with no fluff: first sentence states purpose, second adds critical behavioral context. It is appropriately sized and front-loaded, earning its keep without unnecessary words.

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?

For a simple tool with 3 optional parameters and no output schema, the description covers main behaviors (reading, setting, enforcement, authorization). It omits details on reset_spend action but overall is sufficient given annotations and schema descriptions.

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 67% (ceiling and response_format have descriptions). The description adds minimal parameter details beyond the schema, simply stating 'read or change'. It does not elaborate on action values or parameter usage beyond what the schema provides.

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?

The description clearly states the tool reads or changes the credit budget, specifying 'credit ceiling and spend'. It distinguishes from sibling tools like flow_estimate_cost (estimates cost) and flow_ledger (ledger entries) by focusing on budget management. The phrase 'Raise it only on explicit instruction from whoever owns the account' adds a critical usage caveat.

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 description implies when to use the tool (to read or change budget) and includes a caution about raising the ceiling only on explicit instruction. However, it does not explicitly state alternatives or when not to use this tool compared to siblings like flow_estimate_cost.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sergiorushy326/google-flow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server