Skip to main content
Glama
field-analytics

field-analytics

by cicerao

request_maintenance_window

Request a maintenance window for a machine by creating a pending approval item; nothing is scheduled until a person approves it. Share the request ID and note it is awaiting approval.

Instructions

Ask for a maintenance window on a machine. This creates a pending request.

Nothing is scheduled until a person approves it. Tell the person the request id and that it is waiting for approval.

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": {
      "site": "<site>",
      "machine_id": "<machine_id>",
      "day": "<day>",
      "shift": "<shift>",
      "reason": "<reason>"
    },
    "name": "request_maintenance_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayYes
siteYes
shiftYes
reasonYes
machine_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that this is a non-immediate, approval-gated action ("Nothing is scheduled until a person approves it") and that a request id is produced for follow-up. It omits who may approve, expected wait time, and any permission requirements.

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?

Three short sentences that are front-loaded with purpose and effect. The closing instruction about telling the person the request id earns its place as follow-up guidance rather than filler.

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

Completeness3/5

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

The approval-workflow behavior is well covered and the return value (a request id) is implied despite no output schema. However, with five undocumented required parameters and no annotations, the definition leaves too much unspecified for an agent to construct a valid call confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Five required parameters with 0% schema description coverage and zero enum constraints, yet the description never explains site, machine_id, day, shift, or reason. Format expectations for day/shift and valid identifiers are left entirely ambiguous.

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: "Ask for a maintenance window on a machine," plus the effect ("creates a pending request"). The sibling tools (metric querying) are in an unrelated domain, so no explicit differentiation is needed.

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?

The opening sentence implies when to use it (requesting a maintenance window rather than performing maintenance directly), but there are no explicit exclusions, prerequisites, or named alternatives. An agent must infer that no auto-approval path exists.

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