Skip to main content
Glama

Pause a run

pause_run
Idempotent

Pauses a run where it stands: its timers stop, nothing moves on by itself, and the step in hand stays in hand until resume_run. Use it when the person is interrupted or says to hold on; it ends nothing, which is what stop_run is for. The answer is the command's id and a status: done, or alreadyDone for a run that was paused already.

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": "<run>"
    },
    "name": "pause_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
runYesThe run's id.

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.7/5.0
Behavior5/5

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

The annotations already cover safety (readOnlyHint=false, destructiveHint=false, idempotentHint=true), and the description adds real value beyond them: it states that timers halt and progress freezes, that nothing is destroyed, and that repeating the call yields the alreadyDone status. That last point gives concrete evidence of idempotency rather than restating the hint.

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 short sentences, front-loaded with the effect before the usage condition and the return values. Every clause contributes: behavior, when to call, what not to confuse it with, and the response shape.

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 one-parameter state-change tool, the description covers the state transition, its side effects and limits, the correct alternative for termination, and the success/idempotent outcomes. With an output schema present, it need not spell out the return payload, and it doesn't over-reach.

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?

Schema description coverage is 100% for the single run parameter, so the schema already carries the meaning. The description refers to acting on "a run" but adds no format, lookup, or edge-case guidance about the id beyond what the schema states, so baseline 3 applies.

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?

"Pauses a run where it stands" gives a specific verb and resource, then immediately defines the mechanism (timers stop, nothing advances, the current step is held). Siblings resume_run and stop_run are named, so an agent can separate pause from resume and from terminate without inspecting 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?

Explicit trigger conditions are given: "Use it when the person is interrupted or says to hold on." It also names the alternative and the boundary: "it ends nothing, which is what stop_run is for," plus "until resume_run" to define the exit path.

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.