workorder-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WORKORDER_DB_PATH | No | Overrides the automatically discovered workorder database location. By default, the server uses <project-root>/.agents/workorders.sqlite, discovering the project root by walking upward to the nearest directory containing .git or an existing .agents/workorders.sqlite database. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Track repository-local workorders without loading unnecessary context.
Use listGroups and listWorkorders for compact discovery. Fetch long descriptions, history, and observations only when they are needed. Use observations to record durable cross-workorder context, and update statuses as work progresses.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| createGroupB | Create a workorder group. Group shorthands are generated automatically and returned with the group. |
| getGroupBriefA | Return only a group's short brief. Use getGroupDesc when the long description is needed. |
| getGroupDescA | Return a group's long description, or an empty string if none exists. |
| listGroupsA | List group summaries and shorthands without long descriptions. |
| createWorkorderB | Create a workorder in a group. The returned workorder_id is a stable group-number ID such as A-1. |
| getWorkorderA | Return full details for one workorder. Prefer listWorkorders for broad scans because this includes the long description. |
| listWorkordersA | List compact workorder summaries, newest activity first. Long descriptions are omitted. Use getWorkorder for one full record. |
| updateWorkorderA | Update workorder fields and append a history event. Omit fields to leave them unchanged. Pass description="" to clear it. |
| getWorkorderHistoryA | Return immutable workorder history, newest first. Use only when change history is needed; normal retrieval is more compact. |
| addObservationB | Attach durable context to a workorder. Use related_workorder_id to record a structured cross-workorder reference. |
| updateObservationA | Edit an observation's text or related-workorder link. Set clear_related_workorder=true to remove the link. Omitting related_workorder_id leaves it unchanged. |
| listObservationsB | List a workorder's observations chronologically. Fetch only when cross-workorder context is needed. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Three clear resource families (groups, workorders, observations) each have distinct list/get/create/update operations. The only mild overlap is getGroupBrief vs getGroupDesc, which are separated by an explicit note pointing to each other, and getWorkorder vs getWorkorderHistory is well clarified by the guidance in descriptions.
All twelve tools follow a consistent camelCase verb_noun pattern (createGroup, getGroupDesc, listGroups, updateObservation, etc.). Plural list vs singular get conventions are applied uniformly across all three resource families.
Twelve tools is well within the sensible range for a workorder domain spanning groups, workorders, and observations. The one minor excess is splitting group retrieval into brief/desc/list variants, which could arguably be a single call with a verbosity flag.
Read and create/update coverage is solid, including history and cross-workorder links, but there is no delete or archive operation for groups, workorders, or observations, and no explicit status/close transition for workorders. Agents can append history and edit fields but cannot remove stale records, creating dead ends for lifecycle management.