Skip to main content
Glama
TrackLine
by TrackLine

nodes_create

Add new VPN nodes to the Remnawave panel by specifying name, address, port, country, traffic settings, and configuration profiles.

Instructions

Create a new node in Remnawave

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNode name
addressYesNode address (IP or hostname)
portNoNode port
countryCodeNoCountry code (e.g. US, DE, NL)
isTrafficTrackingActiveNoEnable traffic tracking
trafficLimitBytesNoTraffic limit in bytes
trafficResetDayNoDay of month to reset traffic (1-31)
notifyPercentNoTraffic notification threshold percentage
consumptionMultiplierNoTraffic consumption multiplier
activeConfigProfileUuidYesConfig profile UUID to assign
activeInboundsYesArray of inbound UUIDs to enable

Implementation Reference

  • The handler for the 'nodes_create' tool, which constructs the request body from parameters and calls the client's createNode method.
    async (params) => {
        try {
            const body: Record<string, unknown> = {
                name: params.name,
                address: params.address,
                configProfile: {
                    activeConfigProfileUuid:
                        params.activeConfigProfileUuid,
                    activeInbounds: params.activeInbounds,
                },
            };
            if (params.port !== undefined) body.port = params.port;
            if (params.countryCode !== undefined)
                body.countryCode = params.countryCode;
            if (params.isTrafficTrackingActive !== undefined)
                body.isTrafficTrackingActive =
                    params.isTrafficTrackingActive;
            if (params.trafficLimitBytes !== undefined)
                body.trafficLimitBytes = params.trafficLimitBytes;
            if (params.trafficResetDay !== undefined)
                body.trafficResetDay = params.trafficResetDay;
            if (params.notifyPercent !== undefined)
                body.notifyPercent = params.notifyPercent;
            if (params.consumptionMultiplier !== undefined)
                body.consumptionMultiplier = params.consumptionMultiplier;
    
            const result = await client.createNode(body);
            return toolResult(result);
        } catch (e) {
            return toolError(e);
        }
    },
  • The Zod schema defining the input parameters for the 'nodes_create' tool.
    {
        name: z.string().describe('Node name'),
        address: z.string().describe('Node address (IP or hostname)'),
        port: z.number().optional().describe('Node port'),
        countryCode: z
            .string()
            .optional()
            .describe('Country code (e.g. US, DE, NL)'),
        isTrafficTrackingActive: z
            .boolean()
            .optional()
            .describe('Enable traffic tracking'),
        trafficLimitBytes: z
            .number()
            .optional()
            .describe('Traffic limit in bytes'),
        trafficResetDay: z
            .number()
            .optional()
            .describe('Day of month to reset traffic (1-31)'),
        notifyPercent: z
            .number()
            .optional()
            .describe('Traffic notification threshold percentage'),
        consumptionMultiplier: z
            .number()
            .optional()
            .describe('Traffic consumption multiplier'),
        activeConfigProfileUuid: z
            .string()
            .describe('Config profile UUID to assign'),
        activeInbounds: z
            .array(z.string())
            .describe('Array of inbound UUIDs to enable'),
    },
  • The tool registration block for 'nodes_create' in the MCP server.
    server.tool(
        'nodes_create',
        'Create a new node in Remnawave',
        {
            name: z.string().describe('Node name'),
            address: z.string().describe('Node address (IP or hostname)'),
            port: z.number().optional().describe('Node port'),
            countryCode: z
                .string()
                .optional()
                .describe('Country code (e.g. US, DE, NL)'),
            isTrafficTrackingActive: z
                .boolean()
                .optional()
                .describe('Enable traffic tracking'),
            trafficLimitBytes: z
                .number()
                .optional()
                .describe('Traffic limit in bytes'),
            trafficResetDay: z
                .number()
                .optional()
                .describe('Day of month to reset traffic (1-31)'),
            notifyPercent: z
                .number()
                .optional()
                .describe('Traffic notification threshold percentage'),
            consumptionMultiplier: z
                .number()
                .optional()
                .describe('Traffic consumption multiplier'),
            activeConfigProfileUuid: z
                .string()
                .describe('Config profile UUID to assign'),
            activeInbounds: z
                .array(z.string())
                .describe('Array of inbound UUIDs to enable'),
        },
        async (params) => {
            try {
                const body: Record<string, unknown> = {
                    name: params.name,
                    address: params.address,
                    configProfile: {
                        activeConfigProfileUuid:
                            params.activeConfigProfileUuid,
                        activeInbounds: params.activeInbounds,
                    },
                };
                if (params.port !== undefined) body.port = params.port;
                if (params.countryCode !== undefined)
                    body.countryCode = params.countryCode;
                if (params.isTrafficTrackingActive !== undefined)
                    body.isTrafficTrackingActive =
                        params.isTrafficTrackingActive;
                if (params.trafficLimitBytes !== undefined)
                    body.trafficLimitBytes = params.trafficLimitBytes;
                if (params.trafficResetDay !== undefined)
                    body.trafficResetDay = params.trafficResetDay;
                if (params.notifyPercent !== undefined)
                    body.notifyPercent = params.notifyPercent;
                if (params.consumptionMultiplier !== undefined)
                    body.consumptionMultiplier = params.consumptionMultiplier;
    
                const result = await client.createNode(body);
                return toolResult(result);
            } catch (e) {
                return toolError(e);
            }
        },
    );
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. 'Create' implies a write/mutation operation, but the description doesn't mention permissions required, whether the operation is idempotent, what happens on failure, or what the response contains. For a creation tool with 11 parameters and no annotations, this is a significant gap in behavioral context.

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 and front-loaded with the essential information. Every word earns its place.

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 (11 parameters, 4 required) and lack of both annotations and output schema, the description is insufficiently complete. It doesn't explain what a 'node' represents in Remnawave, what happens after creation, or what values are returned. For a creation tool with significant parameter complexity, more context is needed.

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%, meaning all parameters are documented in the schema itself. The description adds no additional parameter information beyond what's already in the schema descriptions. According to guidelines, when schema coverage is high (>80%), the baseline is 3 even with no param info in the description.

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 ('Create') and resource ('new node in Remnawave'), making the purpose immediately understandable. It distinguishes from siblings like nodes_list, nodes_get, nodes_update, and nodes_delete by specifying creation rather than other operations. However, it doesn't explicitly differentiate from hosts_create, which might be a similar but distinct resource.

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 creation is appropriate versus updating existing nodes, or how this relates to similar tools like hosts_create. The agent must infer usage from the 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