Skip to main content
Glama

inspect_logs

Inspect device logs from Android (logcat) or iOS (unified logs). Filter by app, log level, tags, patterns, and time range to debug and analyze mobile app behavior.

Instructions

Inspect device logs (Android logcat or iOS unified logs). Can filter by app, log level, tags, patterns, and time range.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformYesTarget platform
appIdNoApp package name (Android) or bundle ID (iOS) to filter logs
deviceIdNoDevice ID (optional, uses first available)
minLevelNoMinimum log level to include
tagsNoTags to include (Android logcat)
excludeTagsNoTags to exclude from results
patternNoSearch pattern (regex) to filter messages
ignoreCaseNoCase insensitive pattern matching (default: true)
subsystemNoSubsystem filter (iOS only)
categoryNoCategory filter (iOS only)
maxEntriesNoMaximum log entries to return (default: 200)
lastSecondsNoTime range - logs from last N seconds (iOS, default: 300)
clearNoClear log buffer before capture (Android only)
includeCrashesNoInclude crash/fault logs (default: true)
timeoutMsNoTimeout in milliseconds (default: 30000)
Behavior3/5

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

No annotations are provided, so description carries full burden. It mentions filtering but does not disclose side effects (e.g., clearing log buffer via 'clear' parameter) or output characteristics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence is efficient and front-loads the main purpose. Could include more detail without becoming verbose.

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 15 parameters and no output schema, the description is too brief. It omits critical context like that the tool returns log entries, that 'clear' mutates device state, and how platform affects available options.

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%, setting baseline at 3. Description adds little beyond what schema already provides; does not explain parameter nuances like tag vs excludeTag interactions.

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?

Description clearly states the tool inspects device logs and lists filtering capabilities, distinguishing it from sibling tools like analyze_crash or inspect_app_state.

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?

Description implies usage for inspecting logs but does not explicitly state when to use this tool versus alternatives or provide any exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/abd3lraouf/specter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server