Skip to main content
Glama

Create reservation

glpi_create_reservation

Book a reservable item. begin/end use 'YYYY-MM-DD HH:MM:SS'. reservationitems_id comes from glpi_list_reservation_items (not the asset ID).

Input Schema

NameRequiredDescriptionDefault
endYesEnd, 'YYYY-MM-DD HH:MM:SS'
beginYesStart, 'YYYY-MM-DD HH:MM:SS'
commentNoFree-text note stored on the reservation (optional)
users_idNoUser the booking is for
reservationitems_idYesReservationItem ID (see glpi_list_reservation_items)

Output Schema

NameRequiredDescriptionDefault
dataNo
replayedNoTrue when an identical recent create was returned instead of repeated

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?

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the mutation profile is covered structurally. The description adds the trap that reservationitems_id is not the asset ID, but says nothing about permission needs, how booking conflicts are handled, or whether a failed window is rejected.

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, front-loaded with the action, then the two highest-risk parameter facts. Tight and readable, though the date-format sentence partially duplicates the schema.

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?

With an output schema present, return values need not be described, and the description covers the two most error-prone inputs. It leaves users_id semantics and any conflict behavior unstated, but that is a modest gap for a 5-param tool with full schema coverage.

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% and both begin/end already carry the 'YYYY-MM-DD HH:MM:SS' format in their schema descriptions, so the format sentence largely restates structured data. The genuinely additive piece is '(not the asset ID)', which prevents a common misuse of reservationitems_id; baseline 3 is appropriate.

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?

'Book a reservable item' gives a specific verb (book/create) and resource (reservable item), clearly distinct from the get/list reservation siblings. It does not explicitly distinguish itself from glpi_update_reservation, but the create vs. modify intent is unambiguous.

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 points the agent to glpi_list_reservation_items as the source of the required ID, which is a useful workflow hint. However, it never states when to use this versus glpi_update_reservation, nor any prerequisites (permissions, conflict-free window) beyond the ID lookup.

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.