Skip to main content
Glama

Flow credit balance

flow_credits
Read-only

Read remaining Flow credits, reset date, and this connector's spend to monitor budget before generating media.

Instructions

Read the account's remaining Flow credits and reset date from Flow's account panel, plus what this connector has spent. Free.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety is covered. The description adds value beyond that by disclosing the data source (Flow's account panel, i.e., a remote read) and that the call is "Free" — meaning it consumes none of the credits it reports, which is a non-obvious behavioral property an agent may need when budgeting.

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?

A single sentence with no filler, front-loading the primary output (remaining credits) and appending the secondary outputs and cost note. Nothing repeats the title or annotations verbatim.

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 no output schema, the description carries the return-value burden and does name the three returned data points, which is adequate for a simple zero-arg read. It stops short of indicating units, formatting, or whether the connector-spend figure is per-period or lifetime, but that is a minor gap for this complexity level.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate. It correctly avoids inventing inputs and instead spends its words on what the parameterless call returns.

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 pairs a specific verb ("Read") with a specific resource ("Flow credits") and enumerates exactly what comes back: remaining balance, reset date, and this connector's spend. No sibling tool covers credit balance, so the agent can distinguish this from flow_generate/flow_status on the description alone.

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 context is only implied: the mention of spent credits and the trailing "Free" suggest this is a cheap pre-check before credit-consuming operations like flow_generate. There is no explicit when-to-use statement, no prerequisites, and no named alternative, so the agent must infer the placement in a workflow.

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