Skip to main content
Glama

List maintenance requests

list_maintenance_requests
Read-only

Maintenance requests (incidencias) across your properties, newest first. Narrow with propertyId and/or status — but for "what is pending" pass no status: pending covers open, acknowledged and in_progress, and the screen shows those first, most urgent first. Requires the maintenance feature. Paged: if the result has a non-null nextCursor, call again with it as cursor for more. Always pass lang with the language of the user's message. The user sees the result as a screen: call this again whenever they ask to see these, even if you already have the data.

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_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoThe language of the user's message, so the view shown with the answer uses it (not sent to the API)
limitNoPage size, 1-200 (default 100)
cursorNo`nextCursor` from the previous page, to get the next one
statusNo
propertyIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint=false, and the description adds material context beyond them: the feature dependency, newest-first ordering, the urgency ordering on the pending view, and cursor pagination via nextCursor. The only soft spot is the slightly opaque phrasing about 'the screen shows those first', which blurs whether ordering is server-side or view-side.

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 with the resource and ordering, then constraints, then pagination, then the UI re-call rule — a sensible priority order. Dense but nearly every sentence carries operational information; the pending/urgency sentence is the one place where wording could be tightened.

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?

For a five-parameter read-only list tool with no output schema, the description covers the prerequisites, filtering semantics, default ordering, pagination loop, and the screen-rendering expectation an agent must honor. Nothing needed to call it correctly is missing; limit defaults are already handled by the schema.

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?

Schema coverage is 60%, and the description compensates by defining the effective meaning of omitting status (pending = open + acknowledged + in_progress) and by explaining the cursor round-trip using nextCursor. It also mandates always passing lang with the user's message language, adding a usage rule the schema does not state. propertyId is only named, not explained, which keeps this below a 5.

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 and resource ('Maintenance requests (incidencias) across your properties') plus the ordering ('newest first'), which is enough to separate it from get_maintenance_request. It stops short of explicitly naming the sibling or stating that it returns many requests rather than one, so differentiation is implied rather than declared.

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?

Gives explicit narrowing guidance (propertyId and/or status) and a concrete exception: for 'what is pending' pass no status, because pending is a union of open/acknowledged/in_progress. It also states a prerequisite (maintenance feature) and a re-invocation rule — call again whenever the user asks to see these, even if data is already held — which removes real ambiguity about caching.

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.