Skip to main content
Glama

calculate_quote

Calculate an itemized price and duration for a service WITHOUT creating a booking. Duration is estimated from the service details unless durationHours is passed, with a 2-hour minimum. Use this during the quoting phase before the customer commits.

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": {
      "city": "<city>",
      "category": "<category>",
      "serviceType": "<serviceType>"
    },
    "name": "calculate_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCustomer city. Valid values: Ottawa, Gatineau, Toronto, Montreal, Surrey, Miami, Dallas.
edgingNoLawn: include edging.
garageNoInclude garage.
hallwayNoCarpet: include hallway.
hasPetsNoCustomer has pets at home.
windowsNoInclude window cleaning.
areaRugsNoCarpet: number of area rugs.
backyardNoLawn: include backyard.
basementNoInclude basement.
bedroomsNoNumber of bedrooms (cleaning/carpet).
categoryYesService category.
wateringNoLawn: include watering.
yardSizeNoLawn: yard size.
bathroomsNoNumber of bathrooms (cleaning).
engineBayNoCar: engine bay cleaning add-on.
frequencyNoHow often the service repeats. Defaults to one-time.
overgrownNoLawn: overgrown surcharge.
staircaseNoCarpet: include staircase.
tireCountNoTire: number of tires (default 4).
baseboardsNoInclude baseboards.
couponCodeNoCoupon code from the customer.
excessDirtNoCar: very dirty interior add-on.
iceBuildupNoSnow: include hard ice buildup.
iceSaltingNoSnow: include ice salting.
livingRoomNoInclude living room.
ovenInsideNoInclude inside oven.
carsToClearNoSnow: number of cars to clear.
clayAndSealNoCar: clay bar & seal add-on.
kitchenDeepNoInclude kitchen deep clean.
lawnCleanupNoLawn: include cleanup.
leafRemovalNoLawn: include leaf removal.
serviceTypeYesSpecific service type within the category.
vehicleTypeNoVehicle type for car detailing or tire changing.
windowPanesNoExterior: number of window panes.
drivewayTypeNoSnow: driveway type.
fridgeInsideNoInclude inside fridge.
frontWalkwayNoSnow: include front walkway.
durationHoursNoDuration requested by the customer. Omit it to use the estimated duration.
femaleCleanerNoPrefer a female cleaner.
groutCleaningNoInclude grout cleaning.
scheduledTimeNoLocal date/time at the service address, without an offset. Include it to price date-specific fees.
windowScreensNoExterior: number of window screens.
gutterCleaningNoExterior: include gutter cleaning.
kitchenSurfaceNoInclude kitchen surface clean.
petHairRemovalNoCar: pet hair removal add-on.
spotCleanDoorsNoInclude spot-clean doors.
spotCleanWallsNoInclude spot-clean walls.
windrowClearingNoSnow: include windrow clearing.
cleaningSuppliesNoWhether ezi provides supplies (default true).
soffitsAndFasciaNoExterior: include soffits & fascia.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / couponCode
      Added value: +{
      +  "description": "Coupon code from the customer.",
      +  "type": "string"
      +}
    • addedInput schema / properties / durationHours
      Added value: +{
      +  "description": "Duration requested by the customer. Omit it to use the estimated duration.",
      +  "type": "number"
      +}
    • addedInput schema / properties / frequency
      Added value: +{
      +  "description": "How often the service repeats. Defaults to one-time.",
      +  "enum": [
      +    "one-time",
      +    "weekly",
      +    "bi-weekly",
      +    "monthly"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / scheduledTime
      Added value: +{
      +  "description": "Local date/time at the service address, without an offset. Include it to price date-specific fees.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / city / description
      Previous value: -"Customer city. Valid values: Ottawa, Gatineau, Toronto, Montreal, Surrey, Miami."New value: +"Customer city. Valid values: Ottawa, Gatineau, Toronto, Montreal, Surrey, Miami, Dallas."
  3. Changed1 schema field changed
    • changedInput schema / properties / serviceType / enum
      Previous value: -[
      -  "DEEP-CLEAN",
      -  "POST-CONSTRUCTION",
      -  "AIRBNB-CLEAN",
      -  "MOVE-IN-OUT-CLEAN",
      -  "GENERAL-CLEAN",
      -  "CARPET-CLEAN",
      -  "LAWNCARE-LAWNMOWING",
      -  "LAWNCARE-MAINTENANCE",
      -  "LAWNCARE-PLANTING",
      -  "LAWNCARE-WEED-REMOVAL",
      -  "GENERAL",
      -  "CLEAN_CAR_EXTERIOR",
      -  "CLEAN_CAR_INTERIOR",
      -  "CLEAN_CAR_COMPLETE",
      -  "SNOW_REMOVAL",
      -  "SNOW_REMOVAL_AND_SALTING",
      -  "TIRE-CHANGE-STANDARD",
      -  "TIRE-CHANGE-SEASONAL"
      -]New value: +[
      +  "DEEP-CLEAN",
      +  "POST-CONSTRUCTION",
      +  "AIRBNB-CLEAN",
      +  "MOVE-IN-OUT-CLEAN",
      +  "GENERAL-CLEAN",
      +  "CARPET-CLEAN",
      +  "LAWNCARE-LAWNMOWING",
      +  "LAWNCARE-MAINTENANCE",
      +  "LAWNCARE-PLANTING",
      +  "LAWNCARE-WEED-REMOVAL",
      +  "GENERAL",
      +  "CLEAN_CAR_EXTERIOR",
      +  "CLEAN_CAR_INTERIOR",
      +  "CLEAN_CAR_COMPLETE",
      +  "SNOW_REMOVAL",
      +  "TIRE-CHANGE-STANDARD",
      +  "TIRE-CHANGE-SEASONAL"
      +]
  4. First observed

TDQS

A4.2/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 the key side-effect boundary that no booking is created, explains duration estimation from service details, states the 2-hour minimum, and notes durationHours as an override. It does not describe validation, error behavior, or full return structure, but the core behavioral traits are clear.

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?

Three sentences are tightly structured: purpose and side-effect boundary first, then duration behavior, then usage timing. Every sentence earns its place with no filler.

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 complex 50-parameter pricing tool with no annotations and no output schema, the description states the return contents as an itemized price and duration, confirms no booking is created, and explains duration estimation. It could mention quote persistence, expiry, or return structure, but the essential behavior needed to call it correctly is covered.

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 the 50 parameters are already well documented in the schema. The description adds meaning only for duration behavior, specifically the estimate default, durationHours override, and 2-hour minimum; it does not add semantics for the many category-specific add-ons beyond what the schema provides.

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, 'Calculate', and names the exact outputs, 'itemized price and duration', while explicitly scoping it to 'WITHOUT creating a booking'. This clearly distinguishes it from create_order and other booking-related siblings.

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?

It explicitly says to use this during the quoting phase before the customer commits, which gives clear when-to-use guidance. It also implies the booking alternative via the 'WITHOUT creating a booking' contrast, though it does not name create_order directly.

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