Skip to main content
Glama

Android app state snapshot

android_app_snapshot
Read-only

Retrieve version, PID, resumed activity, and crash-buffer state for an Android package to diagnose app status or crashes.

Instructions

Return package version, PID, resumed activity and relevant crash-buffer state for one Android package.

Input Schema

NameRequiredDescriptionDefault
serialNo
deviceIdNo
crashLinesNo
deviceNameNo
packageNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so safety is covered. The description adds useful context by naming the returned state fields, but it does not explain device targeting behavior, crash-buffer retrieval limits, or any operational constraints.

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 that states the return contents and scope without any wasted wording.

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?

With five parameters, 0% schema description coverage, and no output schema, the description is not complete enough. It names some returned fields but does not compensate for the missing parameter semantics or device-selection behavior.

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

Parameters2/5

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

Schema description coverage is 0%, and the description only vaguely implies packageName and crash-buffer state. It does not explain serial, deviceId, deviceName, packageName format, or the crashLines default and maximum, leaving most parameters 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?

States a specific verb and resource: return package version, PID, resumed activity, and crash-buffer state for one Android package. The scope is clear, though it does not explicitly distinguish itself from sibling tools such as adb_app or adb_packages.

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 guidance on when to use this snapshot versus alternatives like adb_app, adb_packages, or adb_shell. Usage is only implied by the word 'snapshot' and the returned fields.

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

Deploy Server

Other Tools