Skip to main content
Glama

Assign task

assign_task
Idempotent

Assign users to a task by handle. Additive: existing assignees are kept. Every handle must belong to a member of the project or its workspace, otherwise nothing is assigned.

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": {
      "projectId": "<projectId>",
      "taskId": "<taskId>",
      "handles": "<handles>"
    },
    "name": "assign_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask ID from `list_tasks`
handlesYesUser handles, e.g. ["janedoe"]
projectIdYesProject ID from `list_projects`

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 readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the description's job is to add context, which it does: it discloses additive merge semantics and an all-or-nothing validation rule ('otherwise nothing is assigned'). That atomicity detail is real behavioral information an agent could not get from the annotations, though the failure/response shape is still unstated.

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?

Three short sentences, front-loaded with the action and immediately followed by the two facts that matter most: additivity and the validation rule. No filler or restated title text.

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?

For a three-parameter mutation with full schema coverage and a complete annotation set, the description supplies the two things structured fields cannot: merge semantics and atomic validation. Return-value detail is not needed here since there is no output schema and the annotations already cover safety and idempotency.

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%, so the schema already documents projectId, taskId and handles, giving a baseline of 3. The description adds a meaningful constraint on the handles parameter (each must resolve to a project or workspace member) but nothing about format or limits beyond the schema's example.

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?

The opening sentence gives a specific verb and resource ('Assign users to a task') plus the keying mechanism ('by handle'), so the operation is unambiguous. The 'Additive: existing assignees are kept' clause implicitly separates it from an overwrite-style assign or from unassign_task, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for adding assignees, and the membership precondition narrows when it will succeed. There is no explicit when-to-use vs when-not guidance and no named alternative for replacing or removing assignees.

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.