Skip to main content
Glama

Create Task

create_task

Add a task to the team's task list: a title, optional description, due date (YYYY-MM-DD) and priority, the team members to assign (by email or user id) and optionally the item, warehouse, sales order, purchase order or customer/vendor it concerns. The account's task assignment rules still apply. Two-step: preview=true, then commit with the previewReceipt.

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": {
      "input": "<input>"
    },
    "name": "create_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesThe task to create.
previewNoStep 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call.
idempotencyKeyNoCaller-generated idempotency key; required with previewReceipt to commit.
previewReceiptNoStep 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused.

Output Schema

NameRequiredDescriptionDefault
okNo
taskNo
deletedNo
previewNo
expiresAtNo
actionItemIdNo
confirmationNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a non-destructive, non-idempotent write; the description adds real value on top by disclosing the mandatory preview/commit sequence, that "nothing changes until the commit call," and that "The account's task assignment rules still apply" — a side effect the agent cannot see in the schema. It doesn't mention authorization requirements or failure modes beyond the receipt refusal, which is already in the schema.

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?

Two sentences, front-loaded with the core action and then the required two-step flow; nothing is padded. The long field enumeration in the first sentence is dense but every clause maps to a real input.

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 nested-schema write tool with an output schema present, the description covers the action, the full field surface, the side-effect caveat about assignment rules, and the required preview/commit protocol. An agent has everything needed to call it correctly without reading further.

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?

With schema description coverage at 100%, the schema already documents every nested field including formats and defaults. The description largely restates those fields (YYYY-MM-DD, email or user id, optional links) rather than adding new semantics such as constraints on how many assignees may be supplied or how ids are resolved.

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?

"Add a task to the team's task list" gives a specific verb and resource, and the sentence enumerates the payload surface (title, description, due date, priority, assignees, linked entity). It distinguishes itself functionally from update_task/delete_task by being the creation path, though it never names a sibling explicitly.

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?

The description prescribes the usage protocol clearly: "Two-step: preview=true, then commit with the previewReceipt," which tells the agent exactly how a valid call sequence looks. It does not state when to prefer this over update_task or when not to create a task, so it stops short of full explicit routing.

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