Skip to main content
Glama

appium.delete_session

End an active Appium session by session ID, releasing the device and stopping test execution.

Instructions

[approval required][device mutation][risk:dangerous] Delete an Appium session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serverUrlNo
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-alpha.14

TDQS

C2.9/5.0
Behavior3/5

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

No structured annotations are present, so the description carries the behavioral burden. It includes '[approval required][device mutation][risk:dangerous]', which communicates risk and destructive intent. However, it does not disclose the full behavioral consequences of deleting a session, such as what happens to the device under test or whether the session ID becomes invalid.

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 a single short, front-loaded sentence with no filler text, and the warning tags are placed at the front. It is appropriately concise for a tool of this apparent simplicity.

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?

For a destructive lifecycle operation, this is thin context. It omits prerequisites or teardown usage, does not describe the effect on the device or Appium server, and provides no guidance about what to do after deletion. The lack of an output schema further raises the burden on the description to fill in these gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description adds no information about sessionId or serverUrl. The agent must infer parameter semantics solely from the parameter names, and the description does not compensate for the missing schema documentation.

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 states the action ('Delete an Appium session') clearly, identifying a specific verb and resource. It stops short of a 5 because it largely restates the tool name and does not add any scope or distinguishing details relative to sibling Appium lifecycle tools.

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

Usage Guidelines2/5

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

There is no guidance about when this tool should be used, when it is unnecessary, or how it fits into a teardown flow versus other session-related tools. The warning tags signal caution but provide no decision criteria for an agent choosing whether to invoke this tool.

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

Deploy Server

Other Tools