Skip to main content
Glama

Assign

assign

Delegates a task to a specified worker and returns the finished job status (done, uncertain, or failed), optionally reusing a session to run queued work.

Instructions

Give a task to a worker and return the finished job (done, uncertain, or failed).

Without session it opens a new worker session, with model and effort when you give them (see catalog); the session keeps them for its life. With the id of one of your sessions on that worker, the job runs there after the jobs before it, with what the session already knows. In Claude Code it runs as a task: go on with other work, and the job comes back to this session when it ends.

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": {
      "worker": "<worker>",
      "text": "<text>"
    },
    "name": "assign"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
modelNo
pathsNo
effortNo
workerYes
sessionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses session-level model/effort persistence for the session's life, FIFO ordering behind prior jobs, inherited session context, and asynchronous task-style execution in Claude Code that returns later. It omits failure/cancellation behavior, concurrency, and cost, so not exhaustive.

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 action and return, then layered into the no-session and with-session cases. Dense but purposeful; the Claude Code sentence is a useful operational note rather than filler.

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 brief note on terminal states is sufficient without detailing return shape. The only substantive gap for a six-parameter orchestration tool is the undocumented `paths` parameter.

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 coverage is 0%, so the description must compensate. It explains `session`, `model`, and `effort` well and implies `worker` and `text`, but `paths` is never mentioned anywhere, leaving one of six parameters with no meaning attached.

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 ("Give a task to a worker") plus the shape of the return ("done, uncertain, or failed"). It doesn't distinguish itself from siblings like send, queue, or steer, so an agent must infer the boundary, but the core action is unambiguous.

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 clear conditional guidance: omit `session` to open a new worker session, supply a session id to run in that session's queue, and consult `catalog` for `model`/`effort` values. It never says when to prefer this over send/queue/steer, so the alternative-selection guidance is incomplete.

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