Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_list_work_orders

Lists work orders and filters them by job, allocation, assigned contact, status, or creation date, with pagination, sorting, and related resource inclusion.

Instructions

List work orders. Filter by job, allocation, assigned contact, or status.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "prime_list_work_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (starting from 1)
job_idNoFilter by job ID
statusNoFilter by status
includesNoRelated resources to include: job, allocation, assignedContact
order_byNoField to order by (e.g., "createdAt", "updatedAt")
per_pageNoItems per page (max 100)
order_dirNoSort directionDESC
allocation_idNoFilter by allocation ID
created_afterNoFilter work orders created after
created_beforeNoFilter work orders created before
assigned_contact_idNoFilter by assigned contact ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. "List" weakly implies a safe read, but the description says nothing about pagination defaults (page 1, 15 per page, max 100), default sort direction, whether the result set is exhaustive, or what a returned item contains — all behavioral details an agent needs and none of which are stated.

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 short sentences, front-loaded with the action and followed by the filtering capability; nothing is padded. It is slightly wasteful in that the filter enumeration largely repeats what the schema already declares, but it is not verbose.

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

Completeness2/5

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

For an 11-parameter, zero-required list endpoint with no annotations and no output schema, the definition is thin: it omits pagination semantics, sorting defaults, the includes expansion mechanism, and any hint of the response shape. The schema covers parameter detail, but the behavioral and result context an agent needs 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%, so every one of the 11 parameters is already documented in the schema, and the description only names four filter dimensions at a high level. Baseline 3 applies: the schema does the heavy lifting and the description adds no format, relationship, or precedence detail.

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?

"List work orders" states a specific verb and resource, and the filter clause clarifies scope. It does not, however, distinguish this from same-family alternatives such as prime_get_work_order or other prime_list_* tools, so the agent must infer that this is the collection endpoint.

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?

The filter list implies the contexts in which the tool is useful (scoping by job, allocation, contact, or status), which is a form of implied usage guidance. There is no explicit when/when-not statement, no pointer to prime_get_work_order for a single record, and no mention of pagination behavior for large result sets.

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

Deploy Server

Other Tools