Skip to main content
Glama

Sergio by Serviche

Assign a task

assign_task
Idempotent

Assigns a task to a team member (their member id from read('team_members') or whoami), or unassigns it with null. Pass the same idempotency_key when retrying; a repeat returns the task, reports what the original call applied, and changes nothing if the task changed since.

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": {
      "task_id": "<task_id>",
      "assigned_to": "<assigned_to>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "assign_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
assigned_toYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare mutation, idempotency, and non-destructiveness, but the description adds real behavioral detail beyond them: a repeat with the same key returns the task, reports what the original call applied, and changes nothing if the task changed since. Gaps remain around permissions/authorization and whether the assignee is notified, and it never states the normal (non-retry) return value.

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?

Two dense sentences with no filler: the first front-loads the operation and the assignee semantics, the second carries the retry contract. Every clause earns its place and the alternative (unassign) is stated alongside the primary action rather than buried.

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?

For a three-parameter mutation with no output schema, the definition covers the essential contract—assign vs. unassign, id source, and retry behavior. Minor gaps are preconditions (does assignment overwrite an existing assignee? does it require permissions?) and the shape of a successful first-call response.

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 coverage is only 33% (only idempotency_key is documented in-schema), so the description must compensate and largely does: it explains that assigned_to is a member UUID sourced from read('team_members') or whoami, that null unassigns, and that the key must be reused for retries of the same operation. Only task_id is left implicit, which is acceptable given its name and uuid format.

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 ('Assigns a task to a team member') and immediately covers the inverse operation ('or unassigns it with null'), which separates it from siblings like update_task, complete_task, or skip_task. It also tells the agent where the assignee id comes from (read('team_members') or whoami), so the operation is unambiguous without opening the schema.

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 when-to-use context: pass a member id to assign, pass null to unassign, and reuse the same idempotency_key on retries. It does not name competing siblings (e.g., update_task for reassigning via a general edit, or complete_task) or state exclusions such as what happens if the task is already assigned to someone else.

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