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

数据字典

xg_dict

Retrieves system data dictionary entries to decode enumerated values such as user types, read statuses, school years, and competition levels in returned results.

Instructions

读取系统的数据字典,用来解读返回结果里的枚举值。常用:user_type(角色类型)、read_status(已读状态)、school_year(学年)、competition_level(竞赛级别)。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>"
    },
    "name": "xg_dict"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes字典类型,例如 user_type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/5

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

It is implicitly a read-only lookup by the verb 读取, but with no annotations at all the description must carry the behavioral burden and it discloses little beyond that. It never says what happens for an unknown or invalid type, whether the dictionary is static or configurable, or how to enumerate the full set of valid type values, and it only lists four 'common' examples, leaving an agent to guess at the rest.

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 short sentences: purpose first, then the concrete type list. Nothing is redundant and the front-loaded statement of what the tool is for makes it skimmable.

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?

For a one-parameter read tool with no output schema, the description should at least sketch the shape of the returned mapping (code to label) and how an agent can discover types beyond the four examples. It conveys the tool's intent adequately but leaves those gaps, so an agent may need a failed call or guesswork to proceed.

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?

Schema coverage is 100% and the schema already documents the single 'type' parameter with an example, so the baseline would be 3. The description adds value by enumerating four concrete, high-usage type values (user_type, read_status, school_year, competition_level), which helps an agent pick a valid input rather than inventing a key.

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 and resource (读取系统的数据字典) plus the reason it exists (用来解读返回结果里的枚举值), so an agent knows exactly what it returns conceptually. No sibling tool does this, so there is no ambiguity about which tool to pick for enum decoding.

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

Usage Guidelines4/5

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

It gives a clear trigger condition: use it when you need to interpret enum values found in other tools' results, and it names four common dictionary types to make that concrete. It stops short of saying when not to call it or what to do when a type isn't in the listed examples.

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