Skip to main content
Glama

get_my_balance

Get your account balance, level and discount (requires your shop api_key). Read-only, spends nothing. WHEN TO USE: the user asks "how much do I have" or you need to confirm funds before quote_order / buy_product. PREFER INSTEAD: wallet_history for the full ledger of top-ups/spends/refunds, topup_guide to add funds, quote_order to price a specific purchase. Requires a valid api_key. Xem số dư & hạng tài khoản (cần api_key); trả balance (VND), level, discount.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYesYour shop account API key. Khóa API tài khoản shop của bạn (Trang cá nhân → API).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden. It explicitly states 'Read-only, spends nothing' which is a key behavioral trait. It also notes the requirement for a valid api_key. It does not mention error handling or rate limits, but for a simple read operation this is adequate. It discloses the return fields (balance, level, discount) which adds context.

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?

The description is front-loaded with the core purpose, then provides usage guidance and alternatives. It includes a redundant Vietnamese translation, but it does not add much bulk. Overall it is well-structured and every section serves a 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?

For a single-parameter tool with no output schema, the description covers what it returns (balance, level, discount), when to use it, and what alternatives exist. An agent has everything needed to invoke it correctly. The Vietnamese translation also aids non-English users.

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 100% and the api_key parameter is fully described in the schema, including its source ('Trang cá nhân → API'). The description only repeats that it requires the api_key, adding no new semantics beyond the schema. Baseline 3 is appropriate given the high coverage.

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 verb and resource: 'Get your account balance, level and discount' and explicitly differentiates from siblings by naming wallet_history, topup_guide, and quote_order as alternatives. This makes it unambiguous which tool to pick for balance queries.

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?

Provides explicit 'WHEN TO USE' conditions (user asks 'how much do I have' or needs to confirm funds before quote_order/buy_product) and 'PREFER INSTEAD' guidance for alternative tools, covering both when to use and when not to use.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.