Skip to main content
Glama
clcc2019

Xray MCP Server

by clcc2019

generate_short_id

Generate a random short ID for REALITY authentication in Xray proxy configurations. Specify length between 0-16 characters to create secure identifiers.

Instructions

Generate a random short ID for REALITY authentication

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lengthNoShort ID length (0-16)
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states the tool generates IDs for authentication but doesn't describe what 'REALITY authentication' entails, whether the IDs are cryptographically secure, how they're formatted, or what happens on invocation. The description provides minimal behavioral context beyond the basic purpose.

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, efficient sentence that states the core purpose without unnecessary words. It's appropriately sized for a simple tool with one optional parameter, and every element ('Generate', 'random short ID', 'for REALITY authentication') earns its place by adding distinct value.

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 simple ID generation tool with one well-documented parameter and no output schema, the description provides the essential purpose and context. However, without annotations or output schema, it lacks details about the generated ID format, security characteristics, or authentication integration that would be helpful for an agent to use it correctly in the REALITY system context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with the single parameter 'length' fully documented in the schema. The description adds no parameter-specific information beyond what the schema already provides. The baseline score of 3 reflects adequate coverage when the schema does the heavy lifting, though the description doesn't enhance parameter understanding.

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 clearly states the action ('Generate') and resource ('random short ID'), with specific purpose ('for REALITY authentication'). It distinguishes from siblings like generate_uuid or generate_password by specifying the ID type and authentication context. However, it doesn't explicitly contrast with all sibling tools.

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 description implies usage context ('for REALITY authentication'), suggesting when this specific ID type is needed. However, it provides no explicit guidance on when to choose this over alternatives like generate_uuid or generate_password, nor any prerequisites or exclusions for using the tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/clcc2019/xray-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server