Skip to main content
Glama

ios_get_logs

Read-onlyIdempotent

Retrieve recent device logs to diagnose app misbehavior when the UI provides no explanation.

Instructions

Read recent device logs. Useful when an app misbehaves and the UI does not say why.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum lines to return.
since_sNoHow far back to read.
predicateNoFilter: an NSPredicate on a Simulator, else a substring.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already cover the safety profile: readOnlyHint, idempotentHint, and destructiveHint=false. The description adds only the troubleshooting context, not additional behavioral details. Since the annotations carry most of the load, this is adequate but not enhanced.

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 consists of two short sentences with no redundant wording. The core action is front-loaded ('Read recent device logs') and the usage context is stated in the next sentence, making it easy to scan.

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 read-only tool with three optional parameters, an output schema, and strong annotations, the description supplies enough purpose and usage context. It is complete for selection, and the schema handles invocation details.

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?

The input schema covers all three parameters (limit, since_s, predicate) with descriptions, giving 100% coverage. The tool description adds no extra parameter context, so a baseline 3 is appropriate.

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 clearly states the verb and resource: 'Read recent device logs.' This is specific enough to identify the tool's function, but it does not explicitly differentiate itself from sibling tools like ios_export_trace, which may also deal with device-level data.

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?

The description gives clear usage context: 'Useful when an app misbehaves and the UI does not say why.' This helps an agent understand when to choose this tool, though it does not mention when not to use it or name any alternative diagnostics tool.

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

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/emazaheri/ios-agent'

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