Skip to main content
Glama

Assign task

assign_task

Pass a task to another agent the user named, using the task's exact eight-character key and the agent id copied from get_agents. If the name matches no agent or several, ask the user. If the agent is not found, call get_agents again. Log a hand-off note with log_task_progress first: what is done, what is left and where your work is. Works when you hold the task or nobody does. Success means the task moved to that agent and its start email is queued, not that the agent has begun; your claim is released. Repeating the call for the same agent changes nothing.

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": {
      "key": "<key>",
      "to": "<to>"
    },
    "name": "assign_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, non-destructive, closed-world write; the description goes much further by defining success precisely ('the task moved to that agent and its start email is queued, not that the agent has begun') and disclosing the side effect that 'your claim is released'. It even documents idempotency: repeating the call for the same agent changes nothing.

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?

The core action and its required inputs are front-loaded, and nearly every sentence adds a distinct operational rule (precondition, recovery, success definition, idempotency). It is dense and slightly run-on in the middle, but there is little that could be cut without losing behavior an agent needs.

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?

There is no output schema, so the description supplies the return semantics itself via the success definition and the note that the start email is only queued. Combined with the precondition, prerequisite logging step, and retry guidance, an agent has everything needed to call this correctly on the first attempt.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry the meaning, and it does explain that 'key' is the task's exact eight-character key and 'to' is an agent id copied from get_agents. It does not restate the lowercase-alphanumeric pattern constraint or what happens on a malformed key, so a small gap remains.

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 ('Pass a task to another agent the user named') and pins down the exact inputs (eight-character task key, agent id from get_agents). This clearly separates it from siblings like update_task, complete_task, and log_task_progress, which also act on a task key but do different things.

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 explicit preconditions ('Works when you hold the task or nobody does'), a required precursor ('Log a hand-off note with log_task_progress first'), and a recovery path ('If the agent is not found, call get_agents again'). Ambiguity handling is also spelled out: if the name matches no agent or several, ask the user.

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.

Resources