Skip to main content
Glama
bidouilles

Mobile Pilot MCP

by bidouilles

reset_session

Clears an expired or error-prone WebDriverAgent session for a specified iOS simulator to restore control.

Instructions

Reset the WDA session (useful if session expires or has errors).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idYesSimulator UDID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only says it resets the session; it does not state whether this destroys state, requires specific permissions, is reversible, or what side effects occur. Behavioral detail is minimal.

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?

Single sentence with no wasted words, front-loaded with the action and a parenthetical rationale. Appropriate length and structure.

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

Completeness3/5

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

Given a simple one-parameter tool with an output schema, the description covers purpose and a usage hint. However, with no annotations, it omits key behavioral context such as side effects or safety profile, leaving the agent to infer whether resetting is destructive.

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 there is only one parameter (device_id). The description does not add any parameter semantics, but the schema already fully documents it, so the baseline of 3 applies.

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 specific verb and resource ('Reset the WDA session') and adds a parenthetical condition ('useful if session expires or has errors'). It does not explicitly name sibling alternatives, but the operation is clearly distinct from UI actions like tap or swipe.

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?

Provides a clear usage condition ('useful if session expires or has errors'), telling the agent when to invoke it. It does not state when not to use it or mention alternative tools, so it falls short of full when/when-not guidance.

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