Skip to main content
Glama
TrackLine
by TrackLine

users_update

Modify user account details in Remnawave VPN panels by updating username, traffic limits, expiration dates, status, and other parameters using the user's UUID.

Instructions

Update an existing Remnawave user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesUser UUID to update
usernameNoNew username
expireAtNoNew expiration date (ISO 8601)
trafficLimitBytesNoNew traffic limit in bytes
trafficLimitStrategyNoTraffic reset period
statusNoUser status
descriptionNoUser description
tagNoUser tag
telegramIdNoTelegram user ID
emailNoUser email
hwidDeviceLimitNoMax HWID devices
activeInternalSquadsNoInternal squad UUIDs

Implementation Reference

  • The 'users_update' tool is defined as an MCP tool, which takes user parameters and delegates the update operation to 'client.updateUser'.
    server.tool(
        'users_update',
        'Update an existing Remnawave user',
        {
            uuid: z.string().describe('User UUID to update'),
            username: z.string().optional().describe('New username'),
            expireAt: z
                .string()
                .optional()
                .describe('New expiration date (ISO 8601)'),
            trafficLimitBytes: z
                .number()
                .optional()
                .describe('New traffic limit in bytes'),
            trafficLimitStrategy: z
                .enum(['NO_RESET', 'DAY', 'WEEK', 'MONTH'])
                .optional()
                .describe('Traffic reset period'),
            status: z
                .enum(['ACTIVE', 'DISABLED'])
                .optional()
                .describe('User status'),
            description: z.string().optional().describe('User description'),
            tag: z.string().optional().describe('User tag'),
            telegramId: z.number().optional().describe('Telegram user ID'),
            email: z.string().optional().describe('User email'),
            hwidDeviceLimit: z
                .number()
                .optional()
                .describe('Max HWID devices'),
            activeInternalSquads: z
                .array(z.string())
                .optional()
                .describe('Internal squad UUIDs'),
        },
        async (params) => {
            try {
                const result = await client.updateUser(params);
                return toolResult(result);
            } catch (e) {
                return toolError(e);
            }
        },
    );
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. While 'Update' implies a mutation operation, the description doesn't disclose critical behavioral traits such as required permissions, whether changes are reversible, error handling (e.g., what happens if the UUID doesn't exist), or side effects. This leaves significant gaps for a tool that modifies user data.

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 directly states the tool's purpose without any fluff or redundancy. It's appropriately sized and front-loaded, making it easy to parse quickly. Every word earns its place by conveying essential information.

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?

Given the complexity (12 parameters, mutation operation) and lack of annotations or output schema, the description is insufficiently complete. It doesn't explain what happens on success or failure, what permissions are needed, or how partial updates are handled. For a tool with many parameters and no structured safety hints, more contextual information is warranted.

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?

The schema description coverage is 100%, with each parameter clearly documented in the input schema (e.g., 'User UUID to update', 'New username', 'Traffic reset period'). The description adds no additional parameter semantics beyond what the schema provides, so it meets the baseline score of 3 for adequate but not additive documentation.

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 verb ('Update') and resource ('existing Remnawave user'), making the purpose immediately understandable. It distinguishes from sibling tools like users_create, users_delete, users_disable, etc., by specifying it's for updating existing users rather than creating, deleting, or changing specific statuses. However, it doesn't specify what fields can be updated, 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. It doesn't mention prerequisites (e.g., needing the user's UUID), when not to use it (e.g., for creating new users vs. updating existing ones), or refer to sibling tools like users_create or users_disable. The agent must infer usage from the tool name and context 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