Skip to main content
Glama

phone_run_start

Starts a task boundary to group later session calls into one daemon-metrics run; pair with phone_run_end, not video recording.

Instructions

Open a task boundary for this session's daemon metrics; pair with phone_run_end, not phone_record (video). Later session calls count toward this run; this does not drive or reserve the phone. Optional: without it, idle gaps infer runs. Use a fresh run_id for each task; starting the same still-open id resumes that run rather than resetting its counts. complete_trace is valid only before its first counted call and commits you to supply every model turn id at run_end. Returns a start acknowledgement; report errors rather than claiming metrics were recorded.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "run_id": "<run_id>"
    },
    "name": "phone_run_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
traceNoOpt into a bounded, redacted action timeline (no values/screenshots). Retrieve with phone_run_trace; restart loses it. Default false.
run_idYesA short id for this task: 1–64 of A-Z a-z 0-9 . _ : @ -
instanceNodaemon instance name
complete_traceNoSet only if you will pass the id of EVERY model turn of this task to phone_run_end (including turns that made no tool call); only then are model round trips reported.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Parameters for [`PhoneHandler::phone_run_start`]."
  2. Changed4 schema fields changedv0.29.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / complete_trace / default
      Removed value: -null
    • changedInput schema / properties / complete_trace / type
      Previous value: -[
      -  "boolean",
      -  "null"
      -]New value: +"boolean"
    • changedInput schema / properties / instance / description
      Previous value: -"Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure."New value: +"daemon instance name"
  3. Changed1 schema field changedv0.28.1
    • addedInput schema / properties / trace
      Added value: +{
      +  "default": false,
      +  "description": "Opt into a bounded, redacted action timeline (no values/screenshots).\nRetrieve with phone_run_trace; restart loses it. Default false.",
      +  "type": "boolean"
      +}
  4. Changed1 schema field changedv0.27.3
    • addedInput schema / properties / instance
      Added value: +{
      +  "description": "Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure.",
      +  "type": "string"
      +}
  5. First observedv0.21.0

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations, it discloses non-obvious behavior: the run does not drive or reserve the phone, later session calls are attributed to this run, re-starting an open id resumes counts, and complete_trace is only valid before the first counted call. The commit-to-every-model-turn-id obligation is a real consequence the agent could not infer from structured fields. It does not state run lifetime, expiry, or what happens to an abandoned run, so it falls just short of fully transparent.

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?

Every sentence carries information and the most important facts (what it opens, its pair, the exclusion, the error-reporting duty) are loaded early. It is a dense semicolon-chained block, though, so the behavioral rules and the parameter rules are interleaved rather than separated, which slightly slows scanning.

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?

For a state-opening tool with no output schema, the description covers the return ('a start acknowledgement'), the failure mode ('report errors rather than claiming metrics were recorded'), the scope of what the run captures, and the effect of not calling it. Nothing essential to calling it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: run_id freshness rules and resume semantics, and the timing constraint on complete_trace that the schema only describes as 'set only if you will pass the id of EVERY model turn'. The trace restart-loss detail is already in the schema, but the run_id lifecycle guidance is genuinely additive.

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 opens with a specific verb and resource: 'Open a task boundary for this session's daemon metrics'. It immediately distinguishes itself from siblings by naming phone_run_end as its pair and explicitly excluding phone_record ('not phone_record (video)'), and it clarifies the resource boundary ('this does not drive or reserve the phone'). An agent can identify this tool's role without opening any schema.

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?

It states the pairing requirement (phone_run_end), the explicit non-alternative (phone_record), and when the tool is optional ('without it, idle gaps infer runs'), which is a genuine when/when-not decision rule. It also gives a usage rule for the required parameter: use a fresh run_id per task, and reusing a still-open id resumes rather than resets.

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