Skip to main content
Glama

get_user_info

Read-onlyIdempotent

Fetch basic details for a WeChat user by openid to identify followers and personalize official account content.

Instructions

获取单个用户基本信息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNozh_CN
openidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, and the description's '获取' aligns with those hints. The description adds little behavioral context beyond 'basic info', but given the strong annotation coverage, this is acceptable.

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 a single short sentence with no filler, clearly front-loading the core action and resource. It is appropriately concise and easy to parse.

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?

This is a simple single-user read operation with an output schema, safe annotations, and only two self-explanatory parameters. The description is largely sufficient, though it could benefit from mentioning that batch_get_user_info is the alternative for multiple users.

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%, and the description does not explain what openid represents or what lang values are valid. The parameter names are intuitive and lang has a default, but the description adds no meaning beyond the schema itself.

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 states a specific verb (获取/get), a specific resource (单个用户基本信息/single user basic info), and explicitly narrows scope to a single user, which distinguishes it from sibling tools like list_users and batch_get_user_info.

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

Usage Guidelines3/5

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

The phrase '单个用户' implies this tool is for fetching one user's basic info as opposed to batch operations, but it does not explicitly name alternatives or state when not to use it. Usage context is only implied, not fully articulated.

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