Skip to main content
Glama

stop-simulator-server

Stop a device's transport session to free resources while keeping other devices running. Use it to recover from a wedged transport.

Instructions

Stop the transport session for a specific device (iOS / Android: simulator-server process; Chromium: CDP WebSocket) and free its resources; on a TV target it also reaps that device's TV-control daemons. Use when you are done interacting with one device but want to keep others running, or to restart a wedged transport. On iOS / Android / TV it deliberately leaves this device's native-devtools, accessibility, profiler and debugger services running - to drain those as well, use stop-all-simulator-servers with devices. On CHROMIUM that does not hold: the JS-runtime debugger declares the CDP session as a dependency, so stopping the transport cascades to it and its captured console history goes with it - reconnect with debugger-connect afterwards. Returns { stopped, udid }. Fails silently if no session is open for the given id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidYesTarget device id (iOS UDID, Android serial, or Chromium id) whose transport session to stop
Behavior5/5

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

With no annotations provided, the description carries the full burden and excels. It discloses side effects (frees resources, reaps TV-control daemons, leaves native devtools/services running on iOS/Android/TV, cascades to debugger on Chromium and loses console history), return format, and silent failure behavior. No contradictions.

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 front-loaded with the core purpose, then expands with usage guidance and platform nuances. Every sentence contributes distinct, high-value information, and despite its length, there is no filler or redundant detail.

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

Completeness5/5

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

Given the tool's multi-platform complexity and lack of an output schema, the description provides complete context: it explains platform-specific behaviors, return value, failure mode, and interactions with sibling tools like 'debugger-connect'. No critical details are omitted.

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 property description already explains 'udid' thoroughly. The tool description adds no new semantic information about the parameter, only re-contextualizes it within platform examples, so the baseline of 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 uses a specific verb ('Stop') and resource ('transport session') with platform-specific clarifications (simulator-server process, CDP WebSocket). It clearly distinguishes from the sibling tool 'stop-all-simulator-servers' by emphasizing this targets a single device, making its purpose unambiguous.

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?

Explicitly states when to use ('done interacting with one device but want to keep others running, or to restart a wedged transport') and when not to use it, directing users to 'stop-all-simulator-servers' for draining native services. It also provides platform-specific guidance for Chromium and TV targets.

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/software-mansion/argent'

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