Skip to main content
Glama

Console and server commands

search_commands
Read-onlyIdempotent

[Game reference] Console and server commands. One page of Rust console/server commands, alphabetical. Each carries command, syntax, description, category (Rust's own ConVar namespace, e.g. server, gather), command_type (command or variable), default_value (variables only) and permission_required (null when any player can run it). Cached for 30 minutes.

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": "search_commands"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number.
groupNoWho runs it: `player` (any player's F1 commands), `client` (your own game settings), `admin` (admin commands) or `server-variables` (server convars) - the /commands/<group> pages.
searchNoCase-insensitive substring match on the command name, its description OR its category (so `workbench` finds every workbench ConVar).
per_pageNoResults per page (max 200).
admin_onlyNo`true` = only commands that need admin/moderator permission.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / group
      Added value: +{
      +  "description": "Who runs it: `player` (any player's F1 commands), `client` (your own game settings), `admin` (admin commands) or `server-variables` (server convars) - the /commands/<group> pages.",
      +  "enum": [
      +    "player",
      +    "client",
      +    "admin",
      +    "server-variables"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive, closed-world), and the description adds real operational context beyond them: results are paginated one page at a time, cached for 30 minutes, and `permission_required` is null when any player can run the command. It does not state default sort beyond "alphabetical" interaction with search results or what an empty page means, so it is not a 5.

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?

Front-loaded with the resource and page semantics, then the returned field list, then the caching note — each sentence does work. The parenthetical examples are slightly dense but functional rather than filler.

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

Completeness4/5

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

With five optional parameters, no output schema, and 100% schema coverage, the description fills the remaining gap well by describing the returned record shape and the cache lifetime. The one omission is disambiguation from the closely related convar-search sibling.

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%, including the `group` enum semantics and the search matching behavior, so the schema carries parameter meaning. The description adds no parameter-level detail beyond what the schema already documents; baseline 3 applies.

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?

States the resource concretely ("Console and server commands", "one page of Rust console/server commands, alphabetical") and enumerates the fields each entry carries, so the agent knows exactly what comes back. It does not distinguish itself from the sibling `search_server_convars`, which plausibly overlaps heavily, so it stops short of a 5.

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?

There is no explicit when-to-use / when-not-to-use guidance and no named alternative. The agent must infer from the `group` enum values in the schema whether this or `search_server_convars` is the right call, and nothing in the description helps make that choice.

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