Skip to main content
Glama

list_cvars_with_prefix

Read-onlyIdempotent

List console variables and commands in Unreal Engine that start with a given prefix, ignoring case. Provides names and current values for variables.

Instructions

List console variables and commands whose name starts with prefix (case-insensitive); each entry has its name and, for a variable, its current value. Read-only. Stops at max, so count is what was returned, not the total. For a substring search use search_cvars.

Returns: { count, cvars: [...] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoMaximum number of entries to return (default 100, minimum 1).
prefixYesName prefix to match, case-insensitive, e.g. "r.Shadow." or "t.".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.0
    • changedInput schema / properties / max / description
      Previous value: -"Max results (default 100)"New value: +"Maximum number of entries to return (default 100, minimum 1)."
    • changedInput schema / properties / prefix / description
      Previous value: -"Required prefix"New value: +"Name prefix to match, case-insensitive, e.g. \"r.Shadow.\" or \"t.\"."
  2. First observedv1.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered; the description usefully adds that results stop at max and that count reflects returned entries rather than the total, plus what each entry contains. This is real behavioral context beyond the annotations, though truncation/pagination handling is only lightly described.

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 scoping detail, then the alternative sibling, then the return shape in one compact clause. No sentence is wasted.

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 supplies the return shape ({count, cvars}), the entry contents, and the truncation caveat, and annotations cover the safety profile. Nothing needed to call and interpret the result correctly 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% and documents both parameters, so the baseline is 3. The description adds semantics the schema lacks: that max causes truncation rather than ranking, that count is post-truncation, and case-insensitive matching on prefix.

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?

States a specific verb (List) plus resource (console variables and commands) and the exact scope condition (name starts with prefix, case-insensitive). It also names the sibling search_cvars for the contrasting substring case, so an agent can distinguish it from the broader CVar family.

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?

Explicitly routes substring lookups to search_cvars, giving a clear selection condition. It does not explicitly address the near sibling list_cvars (list-all without a prefix), so the when-not side is only implied.

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

Deploy Server

Other Tools