Skip to main content
Glama

Get Workorder

getWorkorder
Read-onlyIdempotent

Fetch complete details for a single workorder using its public ID, including the long description, to inspect one specific task.

Instructions

Return full details for one workorder.

Prefer listWorkorders for broad scans because this includes the long description.

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": {
      "workorder_id": "<workorder_id>"
    },
    "name": "getWorkorder"
  }
}

Input Schema

NameRequiredDescriptionDefault
workorder_idYesPublic workorder ID such as A-1.

Output Schema

NameRequiredDescriptionDefault
kindYes
briefYes
titleYes
statusYes
created_atYes
group_nameYes
updated_atYes
descriptionYes
workorder_idYesPublic ID such as A-1.
group_shorthandYes
observation_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds one piece of real context — that fetching a workorder pulls the long description and is therefore payload-heavy — but says nothing about behavior for a missing or invalid workorder_id.

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, front-loaded with the purpose and trailing with the routing/tradeoff note. No redundant restatement of the title or schema.

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?

An output schema exists, so return-value detail is unnecessary, and the single parameter is fully documented. What remains thin is failure behavior for an unknown ID, which for a simple read tool 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?

Only one parameter, and its schema description (100% coverage) already documents the public ID format such as A-1. The description adds no additional semantics, which is the expected baseline when the schema is fully documented.

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?

States a specific verb and resource ('Return full details for one workorder') and scopes it to a single record versus the list variant, so it is distinguishable from listWorkorders without reading the schema.

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?

Explicitly routes the agent to listWorkorders for broad scans and gives the tradeoff reason (this one includes the long description, so it is heavier). It does not address adjacent alternatives like getWorkorderHistory, but the guidance it does give is concrete.

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