Skip to main content
Glama

List maintenance

list_maintenance
Read-only

Maintenance tasks (replace filters, service the boiler, clean gutters…), soonest due first, each with its id, the item or place and who usually does it; a task that uses a part says how many are left and, as part.shortOn, the first time…

Instructions

Maintenance tasks (replace filters, service the boiler, clean gutters…), soonest due first, each with its id, the item or place and who usually does it; a task that uses a part says how many are left and, as part.shortOn, the first time it's due without enough (counting its repeats and other tasks that use the part) — buy more before then. Use it to see the schedule, to get a task's id for complete_maintenance, and before save_maintenance so you don't add one twice; for just what's urgent across everything, what_needs_attention.

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

Input Schema

NameRequiredDescriptionDefault
itemIdNoOnly this item's tasks, from search_inventory
statusNoopen: everything not finished; overdue; due: within 14 days; upcoming: later; done: finished one-offs; allopen

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / itemId / description
      Added value: +"Only this item's tasks, from search_inventory"
    • addedInput schema / properties / status / description
      Added value: +"open: everything not finished; overdue; due: within 14 days; upcoming: later; done: finished one-offs; all"
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description adds real behavioral substance beyond that, including result ordering, the shape of each row, and the non-obvious derivation of part.shortOn (first due date without enough stock, counting repeats and other tasks sharing the part). It stops short of covering edge cases such as an empty schedule or result-size limits, so it is strong rather than exhaustive.

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?

It is front-loaded with the resource and result shape before moving to usage routing, and nearly every clause carries information. The middle sentence around part.shortOn is dense and em-dash-laden, making it harder to parse than the rest, which keeps it from a perfect score.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry the return-value burden itself — and it does, describing row fields, ordering, and the computed shortOn field. Combined with full schema coverage on the two optional parameters and annotations covering safety, an agent has everything needed to call this 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?

Schema description coverage is 100%, and the descriptions for itemId and status already spell out the enum meanings and the source of itemId ('from search_inventory'), so the baseline of 3 applies. The prose implies status filtering via the 'schedule' framing but adds no syntax, default, or interaction detail (e.g. how itemId combines with status) beyond the schema.

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 opens with a concrete resource and examples ('Maintenance tasks (replace filters, service the boiler, clean gutters…)'), states the sort order ('soonest due first') and enumerates returned fields (id, item or place, who usually does it, parts left). It is unmistakably a read/list tool for maintenance tasks and is clearly separable from mutation siblings like save_maintenance and complete_maintenance.

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?

It gives three explicit use cases ('see the schedule', 'get a task's id for complete_maintenance', 'before save_maintenance so you don't add one twice') and routes to the correct alternative when the need is cross-cutting urgency ('for just what's urgent across everything, what_needs_attention'). This is exactly the when-to-use / when-to-use-something-else guidance an agent needs.

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