Skip to main content
Glama

Start agent run

start_agent_run
Idempotent

Starts an agent run that is already Working, for an agent working on an issue together with a person outside a hand-off (e.g. a runner's interactive session) - so the issue shows the agent on it, and the work ends with finish_agent_run (Done or Failed) or cancel_agent_run like any run. Unlike create_agent_run, the issue may be in any status and its epic needs no particular statuses; the issue's status isn't changed. Fails when the issue already has an open run (Ready or Working). While the run is open the issue is locked: edit_issue and delete_issue fail (status changes and comments still work). Returns the run. Only the issue's assignee can start one, with canEdit (see get_issue/list_issues).

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": {
      "issueKey": "<issueKey>"
    },
    "name": "start_agent_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueKeyYesThe issue's key, e.g. 'BRD-42'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations: issue is locked while the run is open, edit_issue and delete_issue fail while status changes and comments still work, the issue's status is unchanged, and the call fails on a pre-existing open run. Annotations already cover safety (destructiveHint=false, idempotentHint=true), and the added side-effect and failure detail is substantial; the only gap is that "fails" is not given an error shape, though "Returns the run" covers the success path.

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-loaded with the core action, then layered with the differentiator, the failure case, the locking side effect, and the permission requirement, so no clause is wasted. It is a single dense paragraph with parenthetical and dash-separated asides, which makes it slightly harder to scan than a short bulleted structure would be.

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 single-parameter mutation-adjacent tool with no output schema, it covers the full lifecycle (start, finish/cancel), the locking behavior during the run, the conflict condition, and the authorization requirement. Return value is noted as the run, so no output schema is needed.

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?

Only one parameter (issueKey) and the schema documents it at 100% coverage with a concrete example, so the description does not need to explain it and adds nothing beyond it. Baseline 3 applies when the schema carries the parameter semantics.

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 ("Starts an agent run") and immediately pins the exact starting state ("already Working") plus the scenario it serves (agent working on an issue with a person outside a hand-off). It explicitly distinguishes itself from create_agent_run, so an agent can separate the two without opening either 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?

Gives the selecting condition explicitly ("Unlike create_agent_run, the issue may be in any status and its epic needs no particular statuses"), names the terminating siblings (finish_agent_run / cancel_agent_run), and states the exclusion that fails the call (an existing Ready or Working run). Preconditions on who may invoke it (assignee with canEdit) are spelled out.

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.