Skip to main content
Glama

Get a work order

get_work_order
Read-onlyIdempotent

One maintenance job in full: the property and unit, who reported it, who it is assigned to, its urgency and SLA clock, the scheduled visit, and the whole event timeline. Use this after list_work_orders when the user asks what actually happened on a job.

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": "get_work_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
work_order_idYes

Output Schema

NameRequiredDescriptionDefault
idNo
noteNoWhy the result was truncated, when it was.
titleNo
statusNo
is_openNo
urgencyNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
created_atNo
assigned_toNo
descriptionNo
property_idNo
completed_atNo
requested_byNo
scheduled_atNo
property_nameNo
estimated_hoursNo
total_availableNoHow many rows existed before truncation.
property_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description's added value is scoping the payload to a single job's full detail including the event timeline, telling the agent to expect a large, complete record rather than a summary row. It says nothing about behavior when the id does not exist, which keeps it from a 5.

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, the payload description front-loaded and the routing guidance second. Every clause adds information and there is no restatement of the title.

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?

With an output schema present the description need not explain return values, and annotations cover safety. The one thing an agent might still want—failure behavior for an unknown id—is absent, but the description is otherwise sufficient to call this tool correctly.

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?

There is exactly one required parameter and the schema gives it 0% description coverage, so the description would need to carry the meaning. It only implies the parameter by saying 'One maintenance job', never clarifying that `work_order_id` is an integer identifier or where the caller obtains it. For a single self-evident identifier this is a minor gap, so a middling score rather than a low one.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource and scope: retrieving 'One maintenance job in full', followed by an enumeration of what that full record contains (property/unit, reporter, assignee, urgency/SLA, scheduled visit, event timeline). This clearly separates it from `list_work_orders` and from the purchase/sales order siblings, which are different resources.

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

Usage Guidelines4/5

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

It explicitly names the sibling to call first (`list_work_orders`) and the trigger condition ('when the user asks what actually happened on a job'). There is no explicit when-not-to-use case, but the selection guidance is concrete rather than implied.

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