Skip to main content
Glama
TrackLine
by TrackLine

users_create

Create new VPN user accounts with customizable settings including expiration dates, traffic limits, and access controls for secure network management.

Instructions

Create a new VPN user in Remnawave

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYesUnique username
expireAtYesExpiration date in ISO 8601 format
trafficLimitBytesNoTraffic limit in bytes (0 = unlimited)
trafficLimitStrategyNoTraffic reset period
statusNoInitial user status
descriptionNoUser description
tagNoUser tag for grouping
telegramIdNoTelegram user ID
emailNoUser email
hwidDeviceLimitNoMax number of HWID devices
activeInternalSquadsNoArray of internal squad UUIDs

Implementation Reference

  • The handler function for 'users_create' which calls the client's createUser method.
    async (params) => {
        try {
            const result = await client.createUser(params);
            return toolResult(result);
        } catch (e) {
            return toolError(e);
        }
    },
  • Input validation schema for 'users_create'.
    {
        username: z.string().describe('Unique username'),
        expireAt: z.string().describe('Expiration date in ISO 8601 format'),
        trafficLimitBytes: z
            .number()
            .optional()
            .describe('Traffic limit in bytes (0 = unlimited)'),
        trafficLimitStrategy: z
            .enum(['NO_RESET', 'DAY', 'WEEK', 'MONTH'])
            .optional()
            .describe('Traffic reset period'),
        status: z
            .enum(['ACTIVE', 'DISABLED'])
            .optional()
            .describe('Initial user status'),
        description: z.string().optional().describe('User description'),
        tag: z.string().optional().describe('User tag for grouping'),
        telegramId: z.number().optional().describe('Telegram user ID'),
        email: z.string().optional().describe('User email'),
        hwidDeviceLimit: z
            .number()
            .optional()
            .describe('Max number of HWID devices'),
        activeInternalSquads: z
            .array(z.string())
            .optional()
            .describe('Array of internal squad UUIDs'),
    },
  • Registration of the 'users_create' tool.
    server.tool(
        'users_create',
        'Create a new VPN user in Remnawave',
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 but only states the basic action. It doesn't mention required permissions, whether this operation is idempotent, what happens on duplicate usernames, rate limits, or what the response contains. For a mutation tool with 11 parameters, this leaves significant behavioral gaps.

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 any wasted words. It's appropriately sized for a tool with comprehensive schema documentation and gets straight to the point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex mutation tool with 11 parameters and no annotations or output schema, the description is insufficient. It doesn't explain what happens after creation, what permissions are needed, error conditions, or return values. The agent lacks critical context needed to use this tool effectively.

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%, so the schema already documents all 11 parameters thoroughly with descriptions, enums, and required fields. The description adds no additional parameter information beyond what's in the schema, meeting the baseline expectation when schema coverage is complete.

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 ('Create') and resource ('new VPN user in Remnawave'), making the purpose immediately understandable. However, it doesn't differentiate this tool from sibling tools like 'users_update' or 'hosts_create' beyond the obvious 'create' vs 'update' distinction, which prevents a perfect score.

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?

The description provides no guidance on when to use this tool versus alternatives. There's no mention of prerequisites, when not to use it, or how it differs from similar operations like 'users_update' or 'hosts_create'. The agent must infer usage from the tool name alone.

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/TrackLine/mcp-remnawave'

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