Skip to main content
Glama

settings_get

Reads an Android setting value by namespace (global, system, secure) and key, such as screen brightness or airplane mode, to inspect device configuration.

Instructions

Read an Android setting: namespace global | system | secure, key e.g. screen_brightness, airplane_mode_on, font_scale, location_mode.

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>"
    },
    "name": "settings_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesSetting name
namespaceYesglobal | system | secure

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does establish the non-mutating nature of the operation and gives concrete example keys, but it omits anything about permissions required to read secure settings or what happens when a key does not exist.

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 front-loaded sentence with the verb, resource, valid namespace values, and example keys. Nothing is wasted and the critical scoping information comes first.

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

Completeness3/5

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

For a simple two-parameter read tool this covers the inputs adequately, but with no output schema the agent has no indication of what comes back — the raw value as a string, a typed value, or an error shape for missing keys. That return-value gap is the main missing piece.

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 already 100%, so the baseline is 3, but the description adds genuine value by giving real example keys (screen_brightness, airplane_mode_on, font_scale, location_mode) that illustrate the expected format and surface commonly used settings the agent might otherwise not know.

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 names a specific verb ('Read') and resource ('an Android setting') and enumerates the three valid namespaces. The verb 'Read' inherently contrasts with the sibling settings_set, though the description never explicitly names that alternative to sharpen the distinction.

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 the read-only framing and the listed namespaces, but there is no explicit 'use this when...' guidance, no mention of prerequisites or exclusions, and no pointer to settings_set for writes. The agent must infer the boundary from the verb alone.

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