Skip to main content
Glama

task_create

Create and save a new OKF Todo task from a title and stable task type code, with optional deadline, owner, tags, and priority. Returns the saved task.

Instructions

Create an OKF Todo task and return the saved task. Lookup inputs use stable codes, not display names.

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": {
      "title": "<title>",
      "taskTypeCode": "<taskTypeCode>"
    },
    "name": "task_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoOptional HTML task body.
tagsNoOptional plain-string tags.
ownerNoOptional task owner.
titleYesTask title.
deadlineNoOptional deadline in ISO 8601 form.
sourceUrlNoOptional source URL.
taskListIdNoOptional explicit task-list ID. When omitted, OKF Todo applies its documented list-resolution rule.
responsibleNoOptional person responsible for the task.
taskTypeCodeYesStable task type code, for example REQUEST or ERROR.
contextTaskIdNoOptional existing/source/related/parent task ID used to infer list ownership when taskListId is omitted.
bodyFormatCodeNoStable body format code. Defaults to HTML.HTML
taskSourceCodeNoOptional stable source code.
sourceReferenceNoOptional source reference.
taskPriorityCodeNoOptional stable priority code.
activeWaitingForLabelNoOptional waiting-for label. Supplying it places the task in waiting state.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world write, so the safety profile is covered. The description adds two pieces of real value: the call returns the persisted task, and lookup inputs must be stable codes rather than display names. It does not mention side effects such as notifications, permission requirements, or whether retries could create duplicates, which matters for a non-idempotent create.

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 sentences, front-loaded with the action and result, with no filler. The second sentence carries a non-obvious constraint that materially changes how the agent fills the code-typed parameters.

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 15-parameter create tool with no output schema, the description covers the essentials: it names the created entity, confirms a saved task is returned, and flags the code-versus-display-name convention. The remaining complexity (list resolution rules, waiting state, body format defaults) is already fully documented in the schema, so little is missing.

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 description coverage is 100 percent across all 15 parameters, including per-parameter notes on list resolution via contextTaskId and the waiting-state effect of activeWaitingForLabel, so the baseline is 3. The description's 'stable codes, not display names' line reinforces the schema's 'Stable ... code' wording but does not expand on individual parameters beyond that.

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 description states a specific verb and resource ('Create an OKF Todo task') plus the side effect of returning the saved task, which clearly distinguishes it from siblings like task_list_create or task_add_comment. It stops short of explicitly naming any alternative, relying on the tool name to carry that distinction.

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?

There is no explicit when-to-use or when-not-to-use guidance: nothing says whether a task should be created standalone versus under an existing task list, or when to prefer contextTaskId over taskListId. The only guidance-like sentence concerns input format ('stable codes, not display names'), which is a parameter constraint rather than usage routing.

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