Skip to main content
Glama

Update a work order

update_work_order
DestructiveIdempotent

Change status, urgency, schedule, assignee or description on an existing job. Setting status to "completed" stamps the completion time; moving it away from completed clears it.

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>"
    },
    "name": "update_work_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
statusNo
urgencyNo
assigned_toNoTechnician email, or null to unassign.
descriptionNo
scheduled_atNoISO-8601 timestamp.
work_order_idYes
estimated_hoursNo

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
draft_idNoThe staged proposal's id, when it was queued rather than performed.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

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 declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, but the description adds genuinely new behavioral detail the agent could not infer: setting status to "completed" stamps a completion time, and moving away from completed clears it. That side-effect disclosure is exactly the kind of context annotations cannot carry. It does not explain what the destructiveHint implies beyond that (e.g., overwritten values, reversibility).

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 zero filler, front-loading the scope of changeable fields before the conditional status side effect. Every clause carries information an agent needs.

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?

Safety profile and idempotency are covered by annotations and the return shape by the output schema, so the description only needs to carry mutation semantics, which it largely does. The gap is that it enumerates five changeable fields while the schema accepts seven, potentially leading an agent to believe title and estimated_hours cannot be updated; it also never states that updates are partial rather than full replacement.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema description coverage at only 25%, the description must compensate, and it does by naming five of the eight parameters and associating them with their domains (status, urgency, schedule, assignee, description). It omits title and estimated_hours even though both are accepted by the schema, and adds no format detail for scheduled_at beyond what the schema already supplies.

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 (change) and names the exact fields it can modify (status, urgency, schedule, assignee, description) on an existing job, which clearly separates it from create_work_order and get_work_order. It stops short of naming any sibling explicitly, but the verb+resource+field-scope combination is unambiguous.

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 phrase "on an existing job" implicitly routes the agent here rather than to create_work_order, and the work_order_id requirement reinforces that. However, there is no explicit when-to-use versus when-not guidance, no statement of prerequisites (e.g., permissions, whether the work order must be in a particular state), and no mention of which sibling to use for related mutations.

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.

Resources