Skip to main content
Glama
runcycles

cycles-mcp-server

by runcycles

Check Budget Balance

cycles_check_balance
Read-only

Check the current budget balance for a scope, returning remaining, reserved, spent, allocated, and debt amounts.

Instructions

Check current budget balance for a scope. Returns remaining, reserved, spent, allocated, and debt amounts. At least one subject filter (tenant, workspace, app, workflow, agent, or toolset) is required. Do not use as a substitute for cycles_reserve — balances can change between check and action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNo
agentNo
limitNo
cursorNo
tenantNo
toolsetNo
workflowNo
workspaceNo
includeChildrenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hasMoreNo
balancesYes
nextCursorNo
Behavior4/5

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

Annotations already indicate readOnlyHint=true and openWorldHint=false. The description adds value by explaining that balances can change between check and action, which is important behavioral context beyond what annotations provide.

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 with two sentences. The first sentence states the main purpose, and the second adds a constraint and warning. No superfluous information.

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?

Given the presence of an output schema (not shown but indicated), the description sufficiently covers the tool's purpose and key constraints. It lacks details on all parameters, but the essential requirement (at least one filter) is clearly stated. The warning about balance changes adds important context.

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 description coverage is 0%, so the description must compensate. It clarifies that at least one of the listed filters (tenant, workspace, app, workflow, agent, or toolset) is required, but does not explain other parameters like limit, cursor, or includeChildren. Partial compensation.

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 checks the current budget balance for a scope and lists the specific amounts returned (remaining, reserved, spent, allocated, debt). It also distinguishes itself from the sibling tool cycles_reserve by warning not to use it as a substitute.

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

Usage Guidelines5/5

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

The description explicitly states that at least one subject filter is required (tenant, workspace, app, workflow, agent, or toolset) and warns not to use this tool as a substitute for cycles_reserve. This provides clear when-to-use and when-not-to-use guidance.

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/runcycles/cycles-mcp-server'

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