Skip to main content
Glama

query_user_balance

Destructive

查询 Dataify 用户的剩余积分或余额、累计充值和累计使用

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior1/5

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

The description presents a pure informational read ('查询'), yet the annotations declare readOnlyHint=false and destructiveHint=true with openWorldHint=true. That is a direct conflict about side effects, so the agent cannot know whether calling it is safe or mutating. The description also adds nothing about authentication or whether results are account-scoped.

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?

One short clause, front-loaded with the verb and listing the three returned data points without filler. It is efficient, though the list is packed without any structure or qualifiers that would help an agent parse it.

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?

There is no output schema, so the description should indicate what the response looks like (a numeric balance, a breakdown of recharge/usage, currency or credit units). It also fails to resolve the safety question raised by the annotations, leaving the definition incomplete for a zero-parameter but supposedly destructive tool.

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 no parameters (empty schema, additionalProperties=false), and the description correctly does not invent any. Baseline 4 applies since there is nothing for the description to clarify; it could still note that the account is inferred from the session, but that is a minor gap.

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?

States a specific verb (查询/query) plus the resources returned: remaining credits/balance, cumulative recharge and cumulative usage. An agent can tell it is about account balance, but the description never distinguishes it from nearby siblings such as query_user_credit_daily_usage or query_user_info, so which one to pick remains ambiguous.

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?

There is no when-to-use or when-not-to-use guidance and no named alternative. The only signal is the implied intent of checking a balance, so an agent must guess how this differs from query_user_credit_daily_usage (daily consumption) or query_user_info (profile).

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.

Resources