Skip to main content
Glama

Make a maintenance ticket

create_maintenance_ticket

Changes: adds one maintenance ticket at the hotel's maintenance address; never out of order, no photo, no assignee. No preview: the change is made when called. Makes one maintenance ticket, as Maintenance › New ticket does, reported by the person's assistant. Never takes a room out of order (the hotel's staff do that on the ticket). A ticket under the Rooms location needs the room. Returns the ticket number and its link. One of the two people the owner named. Needs the owner's sign-in.

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": {
      "title": "<title>"
    },
    "name": "create_maintenance_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomNoRoom number (required under Rooms)
titleYesWhat is wrong, 30 characters at most
locationNoThe location at the hotel, e.g. Rooms, Lobby, Public Areas, Exterior
priorityNourgent · high · normal · low
issue_typeNoType of issue
descriptionNoMore detail

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations it discloses the traits that matter for a mutation: the change is immediate with no preview, it will never take a room out of order (staff do that on the ticket), it creates no photo or assignee, and it returns the ticket number and link. Fragments like "One of the two people the owner named" and "reported by the person's assistant" are too opaque to count as usable behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense and mostly relevant, but it is delivered as semicolon-joined fragments rather than front-loaded prose, the out-of-order exclusion is stated twice, and orphan fragments ("One of the two people the owner named.") carry no recoverable meaning. Several sentences do not earn their place.

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 6-parameter mutation with no output schema, the description covers the essentials: side effects, authorization, the conditional room requirement, and the return value. Gaps remain around defaults for location, priority, and issue_type, and the unexplained "maintenance address" and "assistant" references.

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 coverage is 100%, so every parameter is already documented in the schema, including the conditional room rule. The description only restates that rule ("A ticket under the Rooms location needs the room") and adds nothing about formatting, defaults, or interplay between location and room beyond what the schema states.

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?

The description names a specific verb and resource ("adds one maintenance ticket", "Makes one maintenance ticket") and bounds scope by excluding out-of-order status, photos, and assignees. It never names update_maintenance_ticket, so the agent gets no explicit sibling contrast, but the create-vs-modify distinction is inferable from "adds one".

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?

It supplies real preconditions — "Needs the owner's sign-in", "A ticket under the Rooms location needs the room", and the no-preview warning — which effectively tells an agent whether it can call. What's missing is any explicit routing advice against alternatives such as update_maintenance_ticket or the maintenance list tool; the agent must infer it.

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