Skip to main content
Glama

record

Start or stop screen recording for an app session or chosen device, supporting long Android captures and HarmonyOS whole-screen recording on physical devices.

Instructions

Start or stop a screen recording for the active app session or, where supported, the selected device. Long Android recordings can return multiple video artifacts; HarmonyOS supports whole-screen recording on physical devices. Times out after 90s.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fpsNo
pathNo
udidNoiOS device UDID selector.
debugNoEnable debug diagnostics.
runIdNoLease run identifier.
actionYes
deviceNoDevice name selector.
serialNoAndroid device or Vega VVD serial selector.
targetNoAlias for deviceTarget on commands without a UI target field. Interaction commands reserve target for the UI element.
tenantNoRemote tenant identifier.
leaseIdNoExisting lease identifier.
qualityNo
sessionNoAgent-device session name.
noRecordNoDo not record this action.
platformNoPlatform selector used to resolve a device.
hideTouchesNo
includeCostNoInclude per-command agent-cost (cost.wallClockMs, …) in structuredContent. Defaults to off; the default response shape is unchanged.
deviceTargetNoDevice target form. Maps to the CLI --target flag.
responseLevelNoResponse verbosity: token-cheap digest / default (today) / full. Defaults to default; the default response shape is unchanged.
recordingScopeNo
mcpOutputFormatNoMCP text content format. Defaults to optimized agent-friendly text; use json for JSON text. Structured content is always returned separately.
androidDeviceAllowlistNoAndroid serial allowlist used for device resolution.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals notable behaviors: long Android recordings may return multiple artifacts, HarmonyOS supports whole-screen recording on physical devices, and the operation times out after 90 seconds. It does not detail every side effect, but the disclosed traits go beyond the basic start/stop functionality.

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 compact, front-loaded with the primary action, and uses only three sentences to convey the core function plus key caveats. No filler or redundancy is present.

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 22-parameter tool with no annotations, the description is relatively brief and leaves some operational context unclear, such as how start/stop pairing is expected to work and what platform selector combinations are relevant. The output schema exists, so return values need not be explained, but the high parameter count and platform-specific behavior warrant a bit more operational guidance.

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 description loosely aligns with parameter semantics by mentioning 'active app session' and 'selected device', which relate to session/device selectors, and 'start or stop' maps to the action enum. However, it adds no meaning for important parameters like fps, path, quality, or recordingScope, and schema coverage is 73%, so the description does not substantially compensate for the undocumented parameters.

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 pair, 'Start or stop', and a clear resource, 'screen recording', which distinguishes it from sibling tools like screenshot. Stating the scope as 'active app session or, where supported, the selected device' further clarifies what the tool acts on.

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?

The description gives useful context about platform support and timeout behavior, but it does not explicitly state when to use this tool versus alternatives such as screenshot or replay. The usage is implied rather than spelled out with clear when-to-use/when-not-to-use guidance.

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/callstack/agent-device'

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