Skip to main content
Glama

List work orders

upkeep_list_work_orders
Read-only

List work orders (reactive and preventive), newest first, with status, priority, due date, asset, location, assignee, parts, time and cost. Filter by status, completion, priority, category, asset, location, assignee, title or date ranges. GET /work-orders.

Input Schema

NameRequiredDescriptionDefault
assetNoOnly records for this asset id.
limitNoRecords per page, 1-100 (default 25).
titleNoOnly work orders with exactly this title.
offsetNoRecords to skip (default 0). Pass the previous reply's next_offset.
statusNoOnly work orders in this status.
archivedNotrue = only archived work orders.
categoryNoOnly this work order category (e.g. Electrical).
includesNoExpand referenced records inline instead of returning ids. Allowed: asset, location, assignedToUser, assignedByUser, requestedByUser, completedByUser, team.
locationNoOnly records for this location id.
order_byNoSort: "<field> ASC|DESC" with field one of createdAt, updatedAt, dueDate, endDueDate, dateCompleted (default "createdAt DESC").
priorityNoPriority: 0 none/lowest, 1 low, 2 medium, 3 high.
due_afterNoDue at or after this time. ISO 8601.
due_beforeNoDue at or before this time. ISO 8601.
is_completeNotrue = only completed work orders, false = only not yet completed.
created_afterNoCreated at or after this time. ISO 8601.
updated_afterNoUpdated at or after this time. ISO 8601.
created_beforeNoCreated at or before this time. ISO 8601.
updated_beforeNoUpdated at or before this time. ISO 8601.
completed_afterNoCompleted at or after this time. ISO 8601.
assigned_by_userNoOnly records for this assigning user id.
assigned_to_userNoOnly records for this assigned user id.
completed_beforeNoCompleted at or before this time. ISO 8601.
public_requester_emailNoOnly work orders created by this email through the request portal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, open-world safety profile. The description adds useful context beyond that: default newest-first ordering, returned work-order fields, and the breadth of available filters.

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 what the tool returns and followed by what can be filtered. There is no wasted wording.

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 list tool with 23 parameters, no output schema, and rich annotations, the description is largely complete: it names returned fields and filter dimensions. Pagination and inline expansion via includes are left entirely to the schema, which is a minor gap.

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%, so the schema already documents all 23 parameters thoroughly. The description summarizes filter categories but does not add syntax or behavioral meaning beyond what the schema provides, making 3 the appropriate baseline.

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 gives a specific verb and resource — listing work orders — and clarifies that both reactive and preventive work orders are included. It does not explicitly differentiate from siblings like upkeep_get_work_order or upkeep_list_preventive_maintenance, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies usage through filterable fields and a GET endpoint, but never states when to use this tool versus upkeep_get_work_order or upkeep_list_preventive_maintenance. There is no explicit when-not guidance.

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.