Skip to main content
Glama

assign_task

Assign a task to a specific agent by ID, or unassign it by passing null. Use to delegate work and track agent ownership.

Instructions

Assign a task to an agent (or unassign by passing null)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesThe task ID to assign
agent_idYesAgent ID to assign the task to, or null to unassign

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.19.0
    • removedInput schema / properties / agent_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / agent_id / type
      Added value: +[
      +  "string",
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / task_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedInput schema / properties / task_id / type
      Added value: +[
      +  "string",
      +  "number"
      +]
  2. Addedv1.2.1

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations present, the description carries the full behavioral burden, yet it discloses almost nothing: not whether assignment overwrites an existing agent, whether permissions are required, whether the target agent is notified, or whether the operation is reversible. Only the mutation/unassign duality is conveyed.

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?

A single tight sentence that front-loads the core action and appends the reversal case. No filler or redundancy.

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 two-parameter mutation tool with no annotations and no output schema, the definition is minimally adequate: it names the action and the unassign path but omits side effects, permissions, and reassignment semantics that an agent would need to invoke it confidently.

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 100% and both parameters are documented in the schema, including the null-to-unassign semantics for agent_id. The description restates that same null behavior rather than adding format, type, or constraint detail, so baseline 3 applies.

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?

It states a specific verb (assign) and resource (task to an agent) and even covers the inverse operation (unassign via null). However, it offers no differentiation from closely related siblings such as claim_task, delegate_task, or release_task, so an agent must infer which assignment path applies.

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?

The only usage hint is the parenthetical about passing null to unassign, which is really parameter behavior. There is no statement of when to prefer this over claim_task or delegate_task, nor any prerequisite or context for invoking it.

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