Skip to main content
Glama

Start a routine

start_run

Starts a run of one of the person's routines on their iPhone, by the routine's name (any case) or id. Its card appears on the Lock Screen. The answer carries run, the new run's id, for set_value, next_step and the rest. A routine that allows several at once gets one more run each time; give each a name ("Onboarding Acme") and the values its steps or name quote ({param:company}) so they can be told apart. One that runs one at a time and is already going answers alreadyGoing with the run that is going, unless restart is true.

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": {
      "routine": "<routine>"
    },
    "name": "start_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoWhat this run is called, if not the routine's name. Up to 80 characters.
valuesNoValues the run starts with, by key — the keys the routine's steps and name quote as {param:key}. Up to 20.
restartNoFor a routine that runs one at a time and is already going: end that run and begin again. Only when the person asked to start over.
routineYesThe routine's name or id.
ask_firstNoWait for the person to say yes on the phone before it begins. Use it when they asked you to check with them first.

Output Schema

NameRequiredDescriptionDefault
runNoThe run it started, planned or found, where there is one: what set_value, next_step and the rest take.
urlNoFor publish_routine, once the person has published it: routinerun.com/c/<code>, the address to share.
codeNoFor publish_routine, once published: the eight-character code, which publish_routine takes again to replace it.
statusYesWhat the phone did with it, in one word; the sentence beside it says what that means.
commandYesThe command's id, which command_status takes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / code
      Added value: +{
      +  "description": "For publish_routine, once published: the eight-character code, which publish_routine takes again to replace it.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / url
      Added value: +{
      +  "description": "For publish_routine, once the person has published it: routinerun.com/c/<code>, the address to share.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "command": {
      +      "description": "The command's id, which command_status takes.",
      +      "type": "string"
      +    },
      +    "run": {
      +      "description": "The run it started, planned or found, where there is one: what set_value, next_step and the rest take.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "What the phone did with it, in one word; the sentence beside it says what that means.",
      +      "enum": [
      +        "done",
      +        "saved",
      +        "proposed",
      +        "refused",
      +        "tooOld",
      +        "runHadMoved",
      +        "alreadyDone",
      +        "notFound",
      +        "asked",
      +        "alreadyGoing",
      +        "waiting",
      +        "daySet",
      +        "linked",
      +        "wrongKind"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "command",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare the mutation/idempotency profile, while the description adds the Lock Screen card side effect, the multi-run semantics (one more run each time), the 'alreadyGoing' response with the in-flight run, and the restart exception. These are genuinely non-obvious behaviors an agent must anticipate before calling.

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?

Front-loads purpose and return handle in the first two sentences, then covers edge cases. Dense but nearly every sentence carries information; the multi-run sentence is convoluted ('give each a `name` ... and the `values` its steps or name quote') and costs some clarity.

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?

An output schema exists, so the description does not need to enumerate return fields, yet it usefully names `run` as the handle for set_value and next_step. It covers the multi-run and already-going cases but says nothing about failure modes, such as an unknown routine name or id.

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

Parameters5/5

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

Schema coverage is 100%, and the description still adds meaning beyond it: an example run name ('Onboarding Acme'), how `values` keys tie to {param:company} quoting in steps and the routine name, and the 'only when the person asked to start over' scoping for `restart`. That exceeds the baseline for a fully documented schema.

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?

States a specific verb and resource ('Starts a run of one of the person's routines on their iPhone') plus the accepted identifier forms (name in any case, or id). It does not distinguish itself from the sibling 'start_new_run', which an agent could easily confuse with this tool, so it falls short of full sibling differentiation.

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?

Gives concrete conditional guidance: give each run a `name` when the routine allows several at once, set `restart` only when the person asked to start over, and use `ask_first` when they asked to be checked with first. It lacks explicit advice on when this tool applies versus the similarly named 'start_new_run' or 'plan_run'.

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.