Skip to main content
Glama
xzaleksey

open-mobile-mcp

by xzaleksey

get_bundler_logs

Retrieve recent Metro bundler, Android, or iOS logs to diagnose mobile app issues. Specify source and device to filter log output.

Instructions

Get recent logs from Metro bundler, Android, or iOS. To wait for a specific line, use wait_for_log in a background subagent instead of polling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNoLog source: 'metro', 'android', 'ios', or 'all' (default 'all')
deviceIdNoRestrict android/ios sources to this device's own log buffer. Useful when capturing logs for multiple devices at once; omit to merge all devices' buffers.
tailLengthNoNumber of lines to return (default 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.4

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It clearly conveys a read-only snapshot behavior ('get recent logs') and warns against polling, but it does not disclose whether the call blocks, how logs are ordered, or any source-specific behavioral nuances. This is adequate for a simple log-fetching tool but not rich.

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 short sentences with no filler. The first sentence states the purpose, and the second adds the key usage caveat. Every word earns its place.

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?

For a simple log-retrieval tool with fully documented parameters and no output schema, the description covers the core use case and points to the relevant alternative. It does not describe output shape or pagination, but that is a minor gap given the straightforward nature of the tool.

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 100%, so the parameters are already fully documented in the schema. The description repeats the source list but adds no additional parameter-level meaning beyond what the schema provides, so the baseline 3 applies.

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 is explicit: it names the action ('Get'), the resource ('recent logs'), and the exact sources ('Metro bundler, Android, or iOS'). It also differentiates itself from the wait_for_log sibling by noting that waiting for a specific line is that tool's job, not this one's.

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

Usage Guidelines5/5

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

The second sentence gives explicit routing guidance: if the goal is to wait for a specific line, use wait_for_log in a background subagent instead of polling this tool. This clearly states when not to use this tool and names the alternative.

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