Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_update_work_order

Updates a work order’s status, notes, description, or assignment; requires the current version to prevent conflicting edits through optimistic locking.

Instructions

Update a work order. Requires version for optimistic locking.

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": {
      "work_order_id": "<work_order_id>",
      "version": "<version>"
    },
    "name": "prime_update_work_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoInternal notes
statusNoWork order status
versionYesCurrent version for optimistic locking
descriptionNoWork order description
work_order_idYesThe work order ID to update
assigned_contact_idNoAssigned contact ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only repeats the optimistic-locking note that the version property already states in the schema. It says nothing about what happens on a version mismatch, whether this is a partial or full replacement update, permission requirements, or side effects of changing status.

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, front-loaded sentences with no padding or redundancy. It is efficiently written, though the brevity comes at the cost of substance rather than from ruthless editing of useful content.

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 a six-parameter mutation tool with no annotations and no output schema, the definition is thin: it omits partial-update semantics, conflict/error behavior for the version check, and whether status changes trigger side effects. The schema covers parameter meanings, but the operational contract an agent needs before writing 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%, with each of the six properties documented inline (including version and work_order_id), so the baseline is 3. The description adds no additional meaning about which fields are optional or how omitted fields are treated.

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?

"Update a work order" gives a specific verb plus resource, so the core action is unambiguous. It does not, however, distinguish this from the many prime_update_* siblings (update_job, update_job_status, update_allocation), so an agent must already know that this is the work-order entity.

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 when-to-use framing, no mention of when to prefer prime_update_job or prime_update_job_status instead, and no stated preconditions for reading the current version before calling. The only guidance is the version requirement, which is a prerequisite rather than routing advice.

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