Skip to main content
Glama

ac_set_mode

Save or update a named mode that pairs a CSP preset with a video preset so both switch together.

Instructions

Save or update a named mode: the CSP preset and video preset that must always be switched together.

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>",
      "csp_preset": "<csp_preset>",
      "video_preset": "<video_preset>"
    },
    "name": "ac_set_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
csp_presetYes
video_presetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose two real behavioral traits: the operation is an upsert ("Save or update") rather than strictly create, and the two presets form an enforced pairing that "must always be switched together." It does not state what happens when overwriting an existing mode name, whether the referenced presets must already exist, or what is returned.

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?

A single sentence with no filler, front-loading the action and then the resource constraint. Nothing is redundant or buried.

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

Completeness2/5

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

For a three-required-parameter mutation tool with no annotations, no output schema, and zero schema descriptions, the description is thin: it omits preset sourcing, overwrite/conflict semantics, and failure conditions. The pairing invariant is the one thing it explains well, but the rest of the calling contract is left to guesswork.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and all three parameters are required, so the description is the only source of parameter meaning. It maps the three values to their roles and explains the coupling between csp_preset and video_preset, which is genuine added meaning, but it gives no format or provenance for preset identifiers and no naming rules for "mode".

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?

The description gives a specific verb pair ("Save or update") plus the resource ("a named mode") and defines what a mode is composed of: a CSP preset and a video preset. That is enough to separate it from ac_switch_mode and ac_list_modes without opening a schema, though it never names those siblings explicitly.

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?

Usage is implied by "save or update" (create-or-upsert) and by the pairing invariant, but there is no explicit guidance on when to prefer this over ac_switch_mode, ac_set, or ac_set_many, nor on how to discover valid preset names via ac_list_presets. The agent must infer the workflow.

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