Skip to main content
Glama

Create Workorder

createWorkorder

Create a workorder in a specified group to track tasks, bugs, features, or chores, and receive a stable group-number ID for reference.

Instructions

Create a workorder in a group.

The returned workorder_id is a stable group-number ID such as A-1.

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": {
      "group": "<group>",
      "title": "<title>",
      "brief": "<brief>"
    },
    "name": "createWorkorder"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoWorkorder category.task
briefYesShort task summary.
groupYesGroup name or shorthand.
titleYesShort workorder title.
statusNoInitial lifecycle state.open
descriptionNoOptional long task details.

Output Schema

NameRequiredDescriptionDefault
kindYes
briefYes
titleYes
statusYes
created_atYes
group_nameYes
updated_atYes
descriptionYes
workorder_idYesPublic ID such as A-1.
group_shorthandYes
observation_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the mutation and safety profile is covered. The description adds useful behavior about the created entity ('workorder_id is a stable group-number ID such as A-1'), but says nothing about permissions, group-existence requirements, or failure modes for a non-idempotent write.

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 short sentences with the operation stated first and the return-value detail second; there is no filler. The ID-format note is the only extra content and it is genuinely informative rather than repetitive.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema and annotations carry the return shape and safety profile, and the schema fully documents inputs, so the description is not inadequate. However, for a creation tool it omits prerequisites (must the group exist?), duplicate handling, and error behavior, which an agent would need before calling.

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%, with every field (group, title, brief, kind, status, description) documented including defaults and length bounds, so the baseline of 3 applies. The description adds no parameter-level meaning such as group-name versus shorthand resolution or how kind/status defaults interact with creation.

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?

States a specific verb and resource ('Create a workorder') and scopes it to a group, which distinguishes it from read-side siblings like getWorkorder and listWorkorders. It does not explicitly contrast with updateWorkorder or createGroup, so it stops short of full sibling differentiation.

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?

The description gives no when-to-use guidance: nothing about whether the target group must already exist, when to prefer this over addObservation or updateWorkorder, or what to do if a duplicate title exists. Usage is only inferable from the tool name and the phrase 'in a group'.

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