Skip to main content
Glama

autodl_account_balance

Check the current AutoDL account balance for a selected charge type to confirm available funds before renting GPU resources.

Instructions

Show the account balance.

CLI: autodl account balance [ARGS] [OPTIONS]

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

Input Schema

NameRequiredDescriptionDefault
jsonNo
charge_typeNopayg

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. "Show" implies a read-only operation, but there is no statement about authentication requirements, rate limits, whether balance is live or cached, or which currency/charge type is returned.

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?

Two short lines with the purpose front-loaded and no filler. The CLI invocation line adds a little operational context, though it is of limited value to an agent already calling the MCP tool.

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?

An output schema exists, so return-value documentation is not required. However, for a financial query with a meaningful `charge_type` parameter and zero param documentation, the description is too thin to let an agent call it correctly the first time.

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% for both parameters. The description never explains what `json` toggles or what values `charge_type` accepts beyond the default "payg" — that distinction materially changes the result, yet it is left undocumented in both the schema and the description.

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?

"Show the account balance" names a specific verb and resource, and it is distinguishable from autodl_account_me (account profile) and the instance/GPU siblings. It stops short of explicitly differentiating itself from the sibling tools, but the purpose is unambiguous.

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?

The description contains no when-to-use guidance, no mention of alternatives such as autodl_account_me, and no prerequisites. An agent must infer usage entirely from the name.

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