Skip to main content
Glama

Who Am I

whoami
Read-only

确认当前连接的是哪个 PowPow 账号,只返回身份标识(用户 ID、用户名、昵称)。当用户问「我是谁」「登录了吗」「我连的是哪个号」,或在执行任何需要身份的操作前,先调用本工具。账号统计(会员、徽章余额、帖子数、数字人数)请改用 get_my_account。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
idYes
nameNo
nicknameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered, and the description adds useful scope information by limiting the return to identity markers only. It also implies a cheap pre-flight check before identity-dependent calls. It does not say what happens when the caller is unauthenticated (error vs. empty identity), a minor remaining gap given an output schema exists.

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?

Three short sentences, front-loaded with the core purpose, then usage triggers, then the sibling hand-off. Every sentence carries distinct information with no repetition of the tool name.

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 zero-parameter read tool with full annotation coverage and an output schema, the description covers what it returns (identity fields only), when to call it, and which sibling to use instead. Nothing an agent needs in order to select or invoke it correctly is missing.

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 there is nothing for the description to disambiguate and the baseline applies. The description adds no misleading parameter language.

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?

States a specific verb and resource: confirm which PowPow account the current connection is using, and explicitly bounds the output to identity fields (user ID, username, nickname). It also names the sibling it is not — get_my_account — so an agent can distinguish the two without inspecting either schema.

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?

Gives explicit trigger phrases (「我是谁」「登录了吗」「我连的是哪个号」) plus a proactive condition: call before any operation that requires identity. It also routes the excluded case (account stats, membership, badge balance, post counts, digital human counts) to get_my_account, which is a genuine when-not/alternative statement.

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.