Skip to main content
Glama

set_appearance

Switch a mobile device between dark and light mode to verify app screens in both themes; iOS changes apply to simulators only.

Instructions

Switch the device between dark and light mode. Android: cmd uimode night. iOS: simulators only (simctl ui appearance). Useful for verifying both themes of a screen.

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

Input Schema

NameRequiredDescriptionDefault
modeYesAppearance mode to set
platformNoTarget platform. Inferred if omitted.
device_idNoDevice ID. Omit for the connected device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnlyHint=false/destructiveHint=false annotations, the description discloses the platform-specific mechanics (cmd uimode night on Android, simctl ui appearance on iOS) and a genuine capability limit: iOS support is simulators only. It doesn't say whether the setting persists across restarts or what happens on a physical iOS device, which keeps it out of the top band.

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 short sentences, front-loaded with the action, then the platform mechanics, then the use case. Every sentence adds distinct information with no padding or repetition of the name.

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?

For a small three-parameter setter with full schema coverage and no output schema, the description covers action, platform constraints, and intent adequately. Minor gaps remain around persistence and error behavior on unsupported iOS hardware, but nothing critical to invoking it correctly is missing.

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% with enums on mode and platform, so the schema already carries the parameter meaning. The description adds a little context by tying platform to the differing Android/iOS implementations, but contributes nothing about device_id or defaults beyond what the schema states.

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?

"Switch the device between dark and light mode" is a precise verb+resource statement, and no sibling tool (set_clipboard, set_location, rotate_device, etc.) overlaps with appearance control, so the agent can route unambiguously. The follow-up implementation hints reinforce rather than restate the purpose.

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?

"Useful for verifying both themes of a screen" gives clear context for when to reach for this tool, and the iOS simulator-only note implicitly flags a case where it won't work. It stops short of naming alternatives or stating exclusions explicitly, so it lands just under the top band.

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