Skip to main content
Glama

agent_run_start

Start a workspace agent on a new task. Use workflow_execute for a known workflow. The agent checks skills and workflows for reuse. Send a stable idempotencyKey. Next call agent_run_get with waitMs to read messages and status. Credits and concurrent runs have limits.

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": {
      "input": "<input>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "agent_run_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
reuseNo
titleNo
effortNo
waitMsNo
agentIdNo
spaceIdNo
maxCreditsNo
idempotencyKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare openWorld=true, readOnly=false and destructive=false, so the safety profile is covered. The description adds genuinely new behavioral facts: the agent checks skills and workflows for reuse, idempotencyKey must be stable, credits and concurrent-run limits apply, and polling continues via agent_run_get. It doesn't explain what the initial response returns or what happens on duplicate keys.

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?

Six short sentences with the core action front-loaded and each sentence carrying a distinct instruction (routing, reuse check, idempotency, next step, limits). The telegraphic phrasing is efficient, though 'Credits and concurrent runs have limits' is vague enough to be of marginal use without numbers.

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

Completeness3/5

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

For a 9-parameter, nested-object, open-world mutation with no output schema, the description covers the lifecycle (start, poll) well but leaves the tenant/agent selectors, effort and reuse knobs unexplained. It is adequate to invoke the tool and follow up, but not to invoke it correctly in multi-workspace or budget-constrained settings.

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

Parameters2/5

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

Schema description coverage is 0% across 9 parameters, so the description carries the full burden, yet it only touches idempotencyKey (calling it 'stable') and waitMs. Parameters like agentId, spaceId, effort, reuse, maxCredits, title and input.content get no meaning from either source, leaving the agent to guess at multi-tenant scoping and credit caps.

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 ('Start a workspace agent on a new task') and immediately scopes itself against the sibling workflow_execute. An agent can distinguish this from agent_run_get/list/cancel and from workflow_execute 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit routing rule: use workflow_execute when the workflow is already known, otherwise start an agent. It also prescribes the follow-up call (agent_run_get with waitMs). It stops short of stating when-not conditions such as already having a live run, so it falls just short of a 5.

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.