Skip to main content
Glama

Get a maintenance request

get_maintenance_request
Read-only

One maintenance request. Its photos are read with get_maintenance_photo (n = 1…photoCount).

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": {
      "id": "<id>"
    },
    "name": "get_maintenance_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe maintenance request ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The readOnlyHint and openWorldHint annotations already establish this as a safe local read, so the description's main added value is disclosing that photos are NOT returned inline but fetched separately via get_maintenance_photo. It does not describe the request's shape, whether missing IDs error or return empty, or any other access constraints.

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?

Two short sentences with no filler, and the core fact (one request) is front-loaded before the photo caveat. The notation "n = 1…photoCount" is slightly telegraphic and depends on photoCount being a known field, which keeps it from a 5.

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?

For a simple single-record read with annotations covering safety and a fully documented parameter, the description supplies the one non-obvious fact an agent needs: photos require a separate call. Return-value details are not needed beyond that since no output schema exists, but error behavior is left unstated.

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 a single parameter with 100% schema description coverage ("The maintenance request ID"), so the schema already carries the semantics. The description adds no format, source, or validation detail for id, which lands this at the baseline for fully covered single-parameter schemas.

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?

"One maintenance request" states the resource and its singular scope, which implicitly separates it from the sibling list_maintenance_requests. It also names get_maintenance_photo as the companion tool for the related photo resource. The only shortfall is the absence of an explicit verb such as "retrieve" or "fetch."

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

Usage Guidelines3/5

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

Singularity plus the required id parameter implies "use this when you already know which request you want," and the photo pointer tells the agent where to go for images. However, there is no explicit when-not guidance or statement of what happens if the request does not exist.

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.