Skip to main content
Glama

settings_get

Retrieve a read-only Android system, secure, or global setting value by namespace and key to inspect configuration without changing device state.

Instructions

Read an Android system/secure/global setting value (read-only).

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
keyYes
namespaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key behavioral fact that the operation is read-only and therefore non-destructive. It omits other relevant behavior: whether the value can be null for an unset key, whether read permission or root is required, and what happens on an invalid key.

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, scope, and safety qualifier. Nothing is wasted and the most important constraint (read-only) is present up front.

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 operation, but with no output schema the description should say what is returned (a string value, null for unset keys, or an error) and whether missing keys fail. That return-value gap is the main incompleteness.

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%, so the description must compensate. It does explain the namespace parameter by enumerating 'system/secure/global', matching the enum, but leaves 'key' completely unexplained beyond its name, so an agent gets no guidance on key naming or format.

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 (read) and resource (Android system/secure/global setting value), and the parenthetical '(read-only)' distinguishes it from the mutating settings_put sibling. It stops short of naming alternatives explicitly, but the operation is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance and no routing to settings_put, open_settings, or system_diagnostics. The '(read-only)' tag only implies that this is the non-mutating counterpart to a write tool; the agent must infer everything else.

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