Skip to main content
Glama

Robot Actions — Remote Device Control

iOS performance record stop

ios_performance_record_stop

Stop a performance recording started with ios_performance_record_start and return the full time-series + a per-process summary (avg/peak CPU, peak memory). Each process also carries derived facts: memory slope (MB/min) and fit quality, a leak-suspected flag, CPU/memory spike episodes, and a one-line verdict. Each process also carries energy impact: avgPower / peakPower (sysmon powerScore; 50+ average = high energy impact) and diskWrittenBytes. Also a thermal block with battery temperature sampled every ~15 s ({startC, endC, peakC, riseC, samples}) and a verdict phrase when the device warmed notably. iOS reports no throttling state. Recordings of 60 s or more also carry a baseline: peak memory, CPU, temperature rise and power against the median of your last runs of the same app on the same device model. Also a frames block (fps over time from the Core Animation graphics feed; DEVICE-WIDE, not per app) and, in the baseline, fps medians. Battery drain is not measured (fleet devices are always charging).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSession id from ios_performance_record_start

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly=false, idempotent=false, destructive=false); the description goes far beyond by disclosing the exact return payload, the powerScore threshold semantics ('50+ average = high energy impact'), thermal sampling cadence, that frames are DEVICE-WIDE not per-app, that baselines require 60 s+ recordings, and that battery drain is deliberately not measured.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause and the remaining text is dense but earns its place because no output schema exists to document the return shape. It is a single unbroken block with no grouping or bullets, which hurts scannability for a payload this complex.

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?

With no output schema, the description carries the entire burden of documenting the response, and it does so thoroughly: time-series, per-process summary, derived leak/spike facts, energy impact, thermal block, baseline, and frames. Nothing an agent needs to interpret the result is missing.

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?

There is a single required parameter with 100% schema description coverage, so the schema already documents it fully. The description adds no format or constraint detail beyond what the schema states, which matches the baseline-3 rule for high coverage.

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 opening clause states a specific verb and resource ('Stop a performance recording') and names the sibling that must precede it ('started with ios_performance_record_start'), letting an agent distinguish it from the start tool without opening a schema.

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?

It gives an explicit prerequisite (a recording started via ios_performance_record_start), which is clear usage context. It does not, however, route the agent between this and alternatives such as ios_performance_snapshot or android_performance_record_stop, so no exclusions are offered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources