Skip to main content
Glama
Floe-Labs

Floe Payments and Credit

Official
by Floe-Labs

get_credit_remaining

Check remaining USDC credit before deciding whether to make a paid call. Returns spendable balance and borrowing headroom to prevent declined transactions.

Instructions

Return how much USDC credit the calling agent has left. Use BEFORE deciding whether to make a paid call. Two distinct numbers: available (= spendable USDC right now — what the proxy actually gates on) and headroomToAutoBorrow (= operator-delegation borrowing capacity — how much MORE the agent could draw from its credit line). These differ when the agent has delegation capacity but no facility loan opened yet: headroomToAutoBorrow > 0 does NOT imply available > 0. Use available for the spend gate. Requires an agent key (floe_...).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully covers behavioral nuances: the distinction between `available` and `headroomToAutoBorrow`, the condition where headroom can be positive while available is zero, and the proxy gating behavior. This is exceptionally transparent.

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?

The description is concise yet thorough, with each sentence contributing essential information: purpose, usage timing, field semantics, and authentication requirements. It is well-structured and front-loaded with the primary purpose.

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

Completeness5/5

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

Given the tool has no parameters and no output schema, the description covers all necessary context: what it returns, the meaning of each field, how to use it, and the required agent key. It is fully self-contained for an agent to select and invoke correctly.

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 has zero parameters, so the baseline is 4. The description adds meaningful context about the return values and their interpretation, which compensates for the lack of an output schema.

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 'Return how much USDC credit the calling agent has left' with a specific verb and resource. It distinguishes between two important numbers and explicitly differentiates this from general balance queries, making its purpose unmistakable.

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

Usage Guidelines4/5

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

It provides explicit 'Use BEFORE deciding whether to make a paid call' guidance and clarifies which field to use for the spend gate. However, it does not explicitly name alternative tools or state when not to use it, so it stops short of a 5.

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/Floe-Labs/floe-mcp-server'

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