Skip to main content
Glama

Kristiine Autorent

Submit the booking as a new customer

submit_booking_new_customer
Destructive

Place the booking for the currently selected car, period and extras, registering the renter as a new customer. This creates a real, binding rental booking and sends a confirmation email, so only call it once the user has reviewed get_booking_summary and explicitly confirmed all of the personal details and the rental terms. If the renter has booked here before, use submit_booking_returning_customer instead.

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": {
      "email": "<email>",
      "firstName": "<firstName>",
      "lastName": "<lastName>",
      "phone": "<phone>",
      "address": "<address>",
      "idCode": "<idCode>",
      "drivingLicenceNumber": "<drivingLicenceNumber>",
      "acceptsTerms": "<acceptsTerms>",
      "acceptsDataHandling": "<acceptsDataHandling>"
    },
    "name": "submit_booking_new_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesRenter email address, used as the customer identity
phoneYesPhone number including country code, e.g. +372 5555 1234
idCodeYesNational identity code of the renter
addressYesStreet address including city and country
lastNameYes
firstNameYes
additionalNoFree-text note for the rental company. When the pickup or return location is delivery to the renter's own address, put that street address here.
companyNameNoOnly for a company rental
acceptsTermsYesMust be true. The user has to have accepted the rental terms.
drivesAbroadNoWhether the car will be driven outside Estonia
companyAddressNoOnly for a company rental
apartmentNumberNo
acceptsMarketingNoWhether the user opted in to marketing emails
estimatedMileageNoEstimated kilometres over the rental period
wantsContactlessNoWhether the renter wants contactless issuance: picking the car up and returning it without meeting staff. The contract is signed and paid online before pickup, and the renter unlocks the car from their phone. Only possible when the selected car has contactlessAvailable: true.
additionalDriversNo
acceptsDataHandlingYesMust be true. The user has to have accepted the data handling policy.
drivingLicenceNumberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive, non-idempotent and open-world behavior; the description adds the consequence that the booking is 'real, binding' and that a confirmation email is sent, which is not encoded in annotations. It does not cover failure modes or whether a confirmed booking can be amended afterwards, so it falls short of full behavioral disclosure.

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, front-loaded with the action and followed by the gating conditions and the alternative tool. 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?

For an 18-parameter, destructive, no-output-schema tool, the description covers the action, the confirmation prerequisite, the side effect (confirmation email) and the sibling alternative. What is missing is only post-call behavior — what the agent gets back or should report after a successful submission.

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

Parameters2/5

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

The description says nothing about the 18 input fields beyond a generic reference to 'personal details and the rental terms'. With schema coverage at 72%, the remaining fields (e.g. additionalDrivers, wantsContactless, estimatedMileage) rely on the schema alone, and the description does not compensate for the gap.

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?

States a specific verb and resource ('Place the booking for the currently selected car, period and extras') and immediately scopes it with the distinguishing condition 'registering the renter as a new customer'. An agent can separate it from submit_booking_returning_customer without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit precondition chain — review get_booking_summary, then obtain explicit user confirmation of personal details and rental terms — and names the alternative tool for returning renters. Both the when-to-use and when-to-use-something-else cases are covered.

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