Skip to main content
Glama

settings_set

Change an Android device setting such as brightness, stay-awake, or font scale by specifying namespace, key, and value; use only when the user explicitly requests a device state change.

Instructions

Change an Android setting (e.g. brightness, stay-awake, font scale). Modifies device state — use only when the user asked for it.

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": {
      "namespace": "<namespace>",
      "key": "<key>",
      "value": "<value>"
    },
    "name": "settings_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesSetting name
valueYesNew value
namespaceYesglobal | system | secure

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden: it correctly discloses that the tool 'Modifies device state', which is the single most important behavioral fact for a write tool. Beyond that it is silent — no mention of required permissions, whether some settings need a reboot to take effect, whether changes are reversible, or what a failure looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Two short sentences with the purpose front-loaded and the caution second — no filler, every clause carries information. The only minor cost is that the parenthetical example list sits before the safety warning, which is arguably the more critical sentence.

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 three-parameter mutation tool with a fully covered schema and no output schema, the definition supplies what an agent most needs: what it changes and that it changes device state. Gaps like namespace semantics and post-change side effects are partly absorbed by the schema, so the shortfall is modest rather than critical.

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%, so all three parameters (namespace, key, value) are already documented, and the namespace enum is spelled out in the schema. The examples of settings map loosely onto 'key' but add no format, type, or validation detail beyond what the schema provides, making 3 the correct baseline.

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 (Change) and resource (an Android setting) and backs it with concrete examples — brightness, stay-awake, font scale — so the agent knows exactly the kind of key it targets. It never names the sibling settings_get, so the read/write split must be inferred from the verb rather than stated.

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?

The clause 'use only when the user asked for it' is a real usage constraint that cautions against unrequested mutation, which is more than most definitions offer. However it gives no explicit alternative (e.g. use settings_get to read), no prerequisites, and no guidance on which namespaces are safe to touch.

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