Skip to main content
Glama

getprop

Reads a single Android system property or lists all properties when no name is provided, enabling inspection of device configuration via ADB.

Instructions

Read one Android system property, or all properties if name is omitted.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "getprop"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
serialNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It implies a safe read operation and discloses the listing behavior when `name` is null, but says nothing about requiring a connected device, how the `serial` selector affects targeting, or what happens on an invalid property name.

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 no filler; the primary case precedes the fallback case, which is the right ordering for scanning.

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

Completeness5/5

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

For a two-parameter, zero-required read tool with an output schema already defining the return shape, the sentence covers the essential decision (named vs. all properties). The only real omission is `serial`, which is minor against the tool's simplicity.

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 0%, so the description must compensate for two parameters. It explains the semantics of `name` (including the null/omitted default meaning "all properties"), but the `serial` parameter is never mentioned, leaving half the surface undocumented.

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 uses a specific verb and resource ("Read one Android system property") and states the scope variant for the no-argument case. It is clearly distinguishable from siblings like device_info or shell for the narrow act of reading properties, though it does not explicitly contrast with shell, which could also run getprop.

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?

It gives one piece of conditional guidance: omit `name` to get all properties. There is no statement of when to prefer this over `shell` or `device_info`, nor any prerequisites such as an active device connection.

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