Skip to main content
Glama

List commands

concommand_list
Read-only

Lists Lua console commands for a chosen realm and, with a filter, parses matching engine commands and convars so you can discover available console options.

Instructions

Lists console commands. Always: the Lua commands of realm (concommand.Add, name matches filter as a case-insensitive substring). With a filter and engine: true (default): also the engine's commands and convars whose name or help text matches, parsed from the console command find <filter>. Result: {lua_commands, realm, engine_commands?, engine_convars?}. Example: {"filter": "sv_"}.

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

Input Schema

NameRequiredDescriptionDefault
realmNoExecution realm (default: menu in client mode, server on srcds).
engineNoInclude engine commands (default true, requires a filter).
filterNoCase-insensitive substring of the name.
instanceNoOptional. Instance identifier (see instances_list). If present and different from the local instance, the call is relayed by the coordinator to that instance.

Output Schema

NameRequiredDescriptionDefault
nextNo
noteNo
realmYes
warningNo
next_callNo
answered_byNo
lua_commandsYes
engine_convarsNo
truncated_noteNo
engine_commandsNo
version_warningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.7

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavior beyond that: engine/convars are scraped by parsing the console command `find <filter>`, engine data only appears when a filter is supplied, and matching differs (name substring for Lua, name or help text for engine).

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?

Front-loads the core behavior, then conditions, then the result shape and a concrete example. Telegraphic phrasing ("Always: ...") but every sentence carries new information and nothing repeats the schema verbatim.

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?

A four-parameter tool with an output schema, so return documentation is largely redundant but harmless as a quick preview. The parsing detail (`find <filter>`) warns the agent that engine results are console-scraped, which is the one non-obvious risk; nothing material is missing.

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 meaning the schema does not: `realm` governs which Lua commands are returned, and the match semantics differ per source (name-only substring vs. name-or-help-text). It also implies `filter` enables the engine branch, matching the schema's "requires a filter" note.

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 a specific verb and resource ("Lists console commands") and splits the output into Lua commands vs. engine commands/convars, which is a clear scope. It doesn't name a sibling to contrast with (e.g. convar_get or console_exec), so an agent must infer the boundary from the list of names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies when the tool is applicable (looking up command names, with engine lookup gated on having a filter), and notes engine defaults to true. There is no explicit when-not guidance or pointer to an alternative such as convar_get for reading a single variable's value.

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