Skip to main content
Glama
gzgs-xgxt-mcp
by yjp-jdp

我的身份与权限

xg_me

Retrieves the current logged-in user's profile, roles, and permission codes so you can verify identity and determine which student affairs system interfaces the account can access.

Instructions

返回当前登录用户的基础资料(姓名/学号/班级/专业/院系/年级),以及角色列表和全部权限码。 权限码形如 comEva:personal:list,能看出这个账号实际能访问哪些接口。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure, and it does convey the substantive payload shape, including that permission codes reveal which endpoints the account can access. However, it never states that the call is read-only, that it depends on an active session, or what happens if the user is unauthenticated — meaningful gaps for an identity tool.

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?

Two tight sentences: the first names the resource and its fields, the second explains the practical meaning of the permission codes with a concrete example. No filler, and the core payload is front-loaded.

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?

Because there is no output schema, the description has to explain return values, and it does so at a useful level of detail including field categories and the permission-code format. The only omission is failure/session behavior, which is a minor but real gap for an identity call with no annotations.

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 beyond what the schema shows. Baseline 4 applies, and nothing in the text misdescribes an input.

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 names a specific resource — the current logged-in user — and enumerates exactly what comes back: basic profile fields (name/student ID/class/major/department/grade) plus role list and permission codes. That is more specific than the title alone and clearly differentiates it from login-flow siblings. It stops short of explicitly contrasting with xg_login_status or xg_menu, so it is strong but not fully sibling-differentiated.

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 statement of when to call this tool versus alternatives such as xg_login_status or xg_menu, and no preconditions are given. The usage is only inferable from the returned content (identity + permissions), which an agent must deduce on its own.

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