Skip to main content
Glama

List active detective sessions

mobile_sessions_status
Read-onlyIdempotent

Return active async recording, focus, and logcat sessions, optionally filtered by device serial. Use before stop or mark to recover session IDs after a reconnect.

Instructions

Return active async recording, focus, and logcat sessions (optional serial filter). Use before stop/mark to recover IDs after a reconnect.

Input Schema

NameRequiredDescriptionDefault
serialNoExact ADB serial from mobile_devices_list; never inferred when multiple devices exist

Output Schema

NameRequiredDescriptionDefault
logcatsYes
recordingsYes
focusTracesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.5.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and non-open-world, so the safety profile is covered. The description adds the set of session types returned and the reconnect/ID-recovery scenario, which is useful scope context but not deep behavioral disclosure (no pagination, ordering, or staleness notes).

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?

Two tight sentences, front-loaded with what is returned and followed by the routing hint. No filler.

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

Completeness4/5

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

With an output schema present and rich annotations, return format and safety are already covered, and the when-to-use hint closes the main gap. Minor omission: it does not spell out that omitting serial returns sessions across all devices.

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 100% and the schema itself explains the serial (exact ADB serial from mobile_devices_list, never inferred with multiple devices). The description only restates it as an 'optional serial filter', so the schema carries the semantic load.

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 clear verb+resource: returns active async recording, focus, and logcat sessions, with an optional serial filter. This distinguishes it from the start/stop/mark siblings, though it never names them explicitly.

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

Usage Guidelines4/5

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

Gives a concrete when-to-use: 'Use before stop/mark to recover IDs after a reconnect.' That is real routing guidance, but there are no exclusions or explicit alternative tools.

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