Skip to main content
Glama

ac_switch_mode

Switch between VR and monitor setups by applying CSP and video presets together, preventing VR-only options from crashing the game. Refuses while Assetto Corsa runs; no changes if a preset is missing.

Instructions

Switch between setups (e.g. VR <-> monitor) by applying the mode's CSP preset and video preset together. Applying only one of them can leave VR-only CSP options (OpenXR, VRS) active on a monitor, which may crash the game while loading. Refuses while Assetto Corsa is running; nothing changes if a preset is missing.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mode": "<mode>"
    },
    "name": "ac_switch_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the crash risk of partial application, the refusal-while-running condition, and that nothing changes if a preset is missing. It does not say which files/settings are actually written or whether a prior state is recoverable, which keeps it short of 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.

Conciseness5/5

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

Three sentences, front-loaded with the action, then the risk rationale, then the failure conditions. Every clause adds decision-relevant information with no padding.

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?

Covers operation, side effects, and failure modes well for a one-parameter mutation tool with no annotations and no output schema. The remaining gap is the enumeration/source of valid mode values, which the agent needs in order to call it correctly.

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 coverage is 0% for the single 'mode' parameter, and the description only adds that a mode maps to a CSP preset plus a video preset, with 'VR' and 'monitor' as loose examples. It never states the valid mode names or where to obtain them (e.g. ac_list_modes), so the agent still lacks the value semantics.

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 and resource ('Switch between setups... by applying the mode's CSP preset and video preset together') and immediately distinguishes it from the single-preset siblings by explaining why applying only one is wrong. An agent knows this is the combined, atomic operation.

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?

Gives clear when-to-use (VR <-> monitor style setup changes) and an explicit precondition: it refuses while Assetto Corsa is running. It does not clarify how it relates to the sibling ac_set_mode, so the routing for that alternative is left implicit.

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