Skip to main content
Glama

KiraaMaroc — car & motorbike rental in Morocco

Get a booking link for a vehicle and dates

get_booking_link
Read-onlyIdempotent

Check that a vehicle (id from search_vehicles) is available for the dates and return the direct booking link with the vehicle and dates pre-selected, plus the estimated total. The user completes the booking on the page; nothing is booked by this tool.

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": {
      "vehicle_id": "<vehicle_id>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_booking_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYesReturn date YYYY-MM-DD.
start_dateYesPickup date YYYY-MM-DD.
vehicle_idYesVehicle id from search_vehicles or get_agency.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description adds real value beyond that: it performs an availability check, returns a pre-filled deep link plus an estimated total, and clarifies that no reservation is created — the key behavioral fact an agent needs to avoid duplicating the booking.

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

Conciseness5/5

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

Two sentences, both front-loaded with the action and the outcome. The caveat about not booking is placed last where it acts as a guardrail. No redundant restatement of the title or 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 no output schema, the description correctly compensates by naming the return values (booking link and estimated total). The main remaining gap is what happens when the vehicle is unavailable — an error, an empty link, or a flag — which an agent calling a 'check' tool would benefit from knowing.

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 description coverage is 100%, so all three parameters (vehicle_id, start_date, end_date) are already documented with formats. The description adds only the provenance of vehicle_id (from search_vehicles) and the fact that these values are carried into the link, which marginally exceeds the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource — 'Check that a vehicle ... is available for the dates and return the direct booking link' — and adds what the caller gets back (link with vehicle/dates pre-selected plus estimated total). It also explicitly negates a plausible misreading by stating 'nothing is booked by this tool', which separates it from any create-booking sibling.

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

Usage Guidelines4/5

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

Usage context is clear: this is the step after finding a vehicle, and the description points to search_vehicles as the source of the vehicle id. It also rules out the booking-completion use case. It stops short of stating explicit when-not conditions (e.g., what to do if the vehicle is unavailable), so it lands just below the top band.

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