Skip to main content
Glama

phone_flow_report

Destructive

File an issue on the official flow registry for an installed flow that failed, using the last run's failed step and daemon details so you only add a short note; requires user confirmation.

Instructions

File an issue on the official flow registry for an installed flow that failed (label changed, app updated, wrong locale). Uses the failure captured by the last phone_flow_run of that id — failed step, redacted daemon result, daemon version — so you only add a short note. Screen labels, typed text, and element lists are stripped. OUTWARD-FACING: requires confirm=true after the user agreed. Do not file for a phone that was simply locked/offline, or for a flow you ran on the wrong app/locale.

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": {
      "id": "<id>"
    },
    "name": "phone_flow_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRegistry id of the flow that failed.
noteNoOne or two sentences: what you expected, what the phone showed.
confirmNoMust be true; set only after the user agreed to open a public issue.
instanceNodaemon instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Parameters for [`phone_flow_report`]."
  2. Changed4 schema fields changedv0.29.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • 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"
    • removedInput schema / properties / note / default
      Removed value: -null
    • changedInput schema / properties / note / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
  3. 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"
      +}
  4. First observedv0.21.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag a destructive, open-world, non-idempotent write; the description adds the context that matters most — the action is OUTWARD-FACING and creates a public issue, so it is gated behind confirm=true set only after the user agreed. It further discloses what data is transmitted (failed step, redacted daemon result, daemon version) and what is scrubbed (screen labels, typed text, element lists), which no annotation conveys.

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?

Three sentences, front-loaded with the action and its target, then evidence sourcing, then the outward-facing warning and exclusions. The parentheticals and em-dashes are doing compression work rather than padding; nothing could be removed without losing routing or safety information.

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

Completeness4/5

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

For a 4-parameter mutation with annotations but no output schema, the definition covers prerequisites, consent, data exposure, redaction, and disqualifying cases. It does not say what the tool returns on success or how an already-filed issue is detected, a small gap for a non-idempotent public write that an agent may otherwise retry.

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 description coverage is 100%, so a baseline 3 is warranted, but the description adds real meaning: id is bound to the failure recorded by the last phone_flow_run for that flow, note is deliberately short because the tool supplies the rest, and confirm is a consent gate rather than a plain boolean. Only the instance parameter goes unaddressed beyond its schema text.

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?

States a specific verb and resource — 'File an issue on the official flow registry' — scoped to 'an installed flow that failed', and names concrete failure classes (label changed, app updated, wrong locale). This is unmistakably distinct from sibling flow tools such as phone_flow_publish or phone_flow_update without opening their schemas.

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?

Gives an explicit precondition (a flow that failed, with the failure captured by the last phone_flow_run of that id) and explicit exclusions: do not file when the phone was merely locked/offline, or when the flow ran against the wrong app/locale. It also routes the agent to the sibling that supplies the evidence, so the when/when-not/alternative triad is fully covered.

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