Skip to main content
Glama

query_user_info

Destructive

查询当前 Token 对应用户的账号信息、脱敏手机号和实名认证信息

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_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior1/5

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

The description frames this as a pure read ('查询...信息'), while annotations declare readOnlyHint=false and destructiveHint=true. Nothing in the text explains any mutation, side effect, permission requirement, or why a query would be flagged destructive, so an agent gets conflicting signals about safety.

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?

A single front-loaded sentence enumerating the returned data with no filler or repetition. Every clause earns its place by naming a distinct piece of returned information.

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

Completeness3/5

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

With no parameters and no output schema, the description adequately signals what comes back (account info, masked phone, real-name verification status). However, it leaves the destructive/read-write annotation discrepancy entirely unexplained, which is the one thing an agent most needs clarified for a zero-argument call.

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 zero parameters, so the baseline of 4 applies; the description correctly communicates that no input is needed by tying the lookup to the ambient Token identity. It adds nothing that could mislead about inputs.

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?

The description gives a specific verb (查询) plus three concrete resources (账号信息、脱敏手机号、实名认证信息) and scopes them to the current Token's user, which naturally separates it from siblings like query_user_api_keys and query_user_balance. It stops short of explicitly naming any sibling, so it lands at 4 rather than 5.

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; the only implicit signal is the 'current Token' scope. An agent must infer on its own that this is the tool for the caller's own profile rather than for other users' data or for API-key/balance lookups handled by siblings.

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