Skip to main content
Glama

task_start

Starts a new task with agent and description details, then emits a task.started event so registered monitors can track work.

Instructions

Start a new task and emit task.started event to registered monitors

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": {
      "agentId": "<agentId>",
      "agentType": "<agentType>",
      "description": "<description>"
    },
    "name": "task_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoWorking directory for the task
taskIdNoOptional custom task ID. If not provided, one will be generated.
agentIdYesUnique identifier of the agent executing this task
metadataNoAdditional metadata for the task
agentTypeYesType of agent
sessionIdNoSession ID to group related tasks
descriptionYesBrief description of what the task will do
parentTaskIdNoID of parent task if this is a subtask

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does deliver one genuinely useful behavioral fact: a task.started event is broadcast to registered monitors. It says nothing about whether starting is idempotent, whether taskId collisions error, permission requirements, or what the caller receives back (e.g., the generated taskId).

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?

A single front-loaded sentence with no filler; the core action leads and the side effect follows. It is efficient, though the brevity is partly under-specification rather than disciplined editing.

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

Completeness2/5

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

This is an 8-parameter mutation with a nested metadata object, no annotations, and no output schema, yet the description never addresses the return value (the generated taskId the caller will need for every subsequent call) or failure modes. For a lifecycle-entry tool, that leaves an important gap.

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%, so every parameter including cwd, sessionId, parentTaskId, and metadata is already documented in the schema. The description adds no semantics beyond that, which is acceptable at this coverage level but not additive.

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?

"Start a new task" is a specific verb+resource pair, and the added clause about emitting a task.started event names the concrete side effect. It implicitly occupies the 'open' slot in the lifecycle (vs. task_complete/task_fail/task_progress) without naming any sibling explicitly, so differentiation is inferable rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing says this must be called before task_progress/task_complete, nothing about whether a task can be restarted or what happens if a taskId already exists. The reader must infer the ordering contract from the verb alone.

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