Skip to main content
Glama

set_prop

Set Android system properties via ADB. Note that many are read-only or require root access.

Instructions

Set a system property (setprop). Many props are read-only or need root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
valueYes
serialNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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?

Without annotations, the description carries the full burden. It discloses that many props are read-only and may require root, which is useful behavioral context. However, it omits other important traits such as error behavior, persistence, or the effect of the `serial` parameter.

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?

The description is two concise sentences, front-loading the purpose and then the caveat. Every sentence earns its place with no redundancy.

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?

Given the tool has three parameters with no schema descriptions and no annotations, the description is too brief. It omits parameter semantics and deeper behavioral details, though the presence of an output schema partially covers return values.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not mention any parameters. It provides no information about `name`, `value`, or `serial`, leaving their semantics entirely to the schema's titles, which are minimal.

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?

The description states a specific verb and resource ('Set a system property'), and the mention of `setprop` ties it to the underlying command. It clearly distinguishes from sibling `get_prop` and is not confusable with setting-related tools like `put_setting`.

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 description provides a usage caveat ('Many props are read-only or need root'), but does not explicitly state when to use this tool versus alternatives like `put_setting` or `get_prop`. It implies usage context but lacks explicit guidance.

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