Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

get_app_vitals

Retrieve CPU and memory stats and check recent crashes/ANRs to diagnose app performance and stability issues.

Instructions

Get performance stats (CPU, Memory) and check for recent crashes/ANRs.

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": {
      "packageName": "<packageName>"
    },
    "name": "get_app_vitals"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdNo
packageNameYesApp Bundle ID (e.g. com.example.app)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does reveal the categories of data returned (CPU, Memory, crashes, ANRs), but says nothing about whether it is a read-only live query, how far back 'recent' reaches, what permissions or debuggable build it requires, or whether it blocks while sampling.

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 tight sentence with the main capability front-loaded and no filler. Every clause earns its place.

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 no annotations, no output schema, an undocumented deviceId, and an undefined 'recent' window, the definition leaves material gaps for a tool whose results drive diagnostics. It should state the device-selection behavior and the time scope of the crash check.

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 coverage is only 50%: packageName is documented in the schema but deviceId has no description anywhere. The description never mentions either parameter, so it does not clarify whether deviceId is optional, which device is targeted when omitted, or how multi-device setups are handled.

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 gives a concrete verb-plus-resource pair: fetch performance stats broken out as CPU and Memory, plus a crash/ANR check. That is enough to distinguish it from device-state siblings like get_device_info or log-oriented ones like analyze_logs, though it never names an alternative itself.

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 when-to-use or when-not-to-use guidance. An agent cannot tell from the text whether this should be preferred over test_performance or analyze_logs for diagnosing a slow or crashing app, nor whether it is a snapshot or a monitoring call.

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