Skip to main content
Glama

Build a Rust server.cfg and start command from settings

build_server_config
Read-onlyIdempotent

[Servers] Build a Rust server.cfg and start command from settings. What the config builder page produces for the same choices: server_cfg (only settings that differ from Rust's defaults, grouped by category, game mode and PvE first), server_cfg_path (where it goes), start_args plus ready-made start_sh / start_bat start scripts (identity, ports and world settings - the command line wins over server.cfg), warnings (level info/warn/danger: tags Rust drops, settings a game mode overrides, values outside Rust's range, settings with no effect...), changed (every setting that differs from the default) and ignored (names that aren't ConVars, credentials, bad values). Secrets are never written: the RCON password in the start command is the placeholder changeme. Pure computation, nothing stored; the same build of Rust as /servers/config/convars. Turn what a server owner wants ('PvE, 150 slots, 3500 map, half decay') into set=convar=value pairs (names via search_server_convars), optionally a preset, and return server_cfg + start_sh/start_bat and the warnings. Never ask for or include an RCON password: the output uses the placeholder changeme. Link https://servers.rustprofit.com/config-builder.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "build_server_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
setNoSettings as `convar=value`, repeatable (up to 100): `set=server.hostname=My Server&set=server.maxplayers=150&set=decay.scale=0.5`. Booleans take true/false.
presetNoStart from a preset (key from `/servers/config/presets`: `vanilla`, `pve`, `weekend`, `softcore`, `hardcore`, `primitive`, `trio`). Your `set` values apply on top.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: 'Pure computation, nothing stored', secrets never written with the RCON password forced to the placeholder 'changeme', the precedence rule that 'the command line wins over server.cfg', and what each return field means including 'warnings' levels info/warn/danger. This is unusually rich behavioral disclosure for a compute tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in sentence one, and the dense enumeration of return fields earns its place because there is no output schema. The second sentence is overloaded with nested parentheticals (warning categories, ignored-name cases), which costs some readability but not correctness.

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

Completeness5/5

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

With no output schema, the description carries return-value documentation itself and does so thoroughly: server_cfg, server_cfg_path, start_args, start_sh/start_bat, warnings, changed, ignored. Combined with the schema's full parameter coverage, an agent has everything needed to call it and interpret the result.

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% so the baseline is 3, but the description adds real semantic value: it explains that 'set' entries are ConVars resolved via search_server_convars, that booleans take true/false, that presets are layered with 'Your `set` values apply on top', and that server_cfg only contains settings differing from Rust defaults. It still does not restate the 100-item cap or the preset name list, which the schema already covers.

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 first sentence states a precise verb and resource: 'Build a Rust server.cfg and start command from settings'. It further anchors identity by calling itself 'What the config builder page produces for the same choices' and by tying itself to '/servers/config/convars', so an agent can distinguish it from read-only siblings like get_server_convar or get_server_config_presets.

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 concrete usage scenario ('Turn what a server owner wants (PvE, 150 slots, 3500 map, half decay) into set=convar=value pairs') and routes to the right sibling for names ('names via search_server_convars') and for preset keys ('key from `/servers/config/presets`'). There is no explicit when-not-to-use statement, but the alternatives for lookup vs. building are clearly signposted.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources