Skip to main content
Glama

Get Work Orders

get_work_orders
Read-onlyIdempotent

Service Manager work orders / maintenance issues across EVERY category.

The general maintenance board (not just resident complaints — use get_resident_concerns for those). Pulls /ServiceManagerIssues directly with category, status, priority, open/close dates, property/unit, and detail. Set open_only=False to include closed orders and an average open→close turnaround stat. Filter by property, category, status, priority, or an opened-date window. Answers: 'what work orders are open', 'maintenance turnaround at ', 'show closed work orders this month'.

``location`` (optional): a Rent Manager Location ID, a comma-separated
list, or ``"all"`` to run across every Location on this connection (see
``list_locations``). Blank = all Locations if the connection has several,
else its only Location. Output is labelled per Location; a Location that
can't be reached is listed as skipped. IDs (property, tenant, ...) belong
to one Location, so pass that Location when you filter by one.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
statusNo
categoryNo
end_dateNo
locationNo
priorityNo
propertyNo
open_onlyNo
start_dateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / location
      Added value: +{
      +  "default": "",
      +  "title": "Location",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds genuine behavior beyond that: it reads /ServiceManagerIssues directly, open_only=False returns an extra average open→close turnaround stat, output is labelled per Location, and unreachable Locations are reported as skipped. It stops short of noting pagination or auth/rate limits.

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?

Front-loaded: purpose sentence first, then scope, then filters, then the location caveat. The location paragraph is long but every sentence carries operational meaning (ID scoping, skipped locations, blank default). Minor tightening possible around the 'Answers:' examples, which partly repeat the filter list.

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 format needn't be restated, and the description still flags the extra turnaround stat and per-Location labelling. Remaining gaps are modest: 'limit' semantics and the expected date format for start_date/end_date are unspecified.

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 0% schema coverage this is doing real work: it explains location's three accepted forms (single ID, comma list, "all"), the blank-location default rule, and the caveat that property/tenant IDs belong to one Location so that Location must be passed when filtering by them. It also maps the opened-date window onto start_date/end_date and covers status, category, priority, property and open_only. Only 'limit' is left undefined.

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+resource ('Service Manager work orders / maintenance issues across EVERY category') and explicitly separates itself from the sibling get_resident_concerns ('not just resident complaints — use get_resident_concerns for those'). It also names the data source (/ServiceManagerIssues) and the fields returned.

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

Usage Guidelines5/5

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

Explicitly names the alternative tool and the condition that selects it, explains the open_only=False branch and what it unlocks, and lists the filter axes. Three example questions ('what work orders are open', 'maintenance turnaround at <property>', 'show closed work orders this month') map directly onto argument combinations.

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