Skip to main content
Glama

quote_same_store_units

Read-onlyIdempotent

Multi-unit SAME-STORE out-the-door estimate: N matching units at one store (for a small fleet or several family cars). Pass listing_ids you picked, or quantity plus a match (make, model, trim, years, condition, mileage, body_style, sourced cargo, seats or towing); it picks the store with the lowest total for the cheapest N matching units (use zip and radius_miles to stay local) and lists alternatives. Each unit's estimated_out_the_door is exactly what estimate_out_the_door returns for the same buyer location, incentives and financed flag; totals add them to the cent. No fleet or volume discount, commercial registration or combined buyer's order is modeled. Synthetic demo listings; estimates are not offers. If no store has N units, returns the stores with the most matches.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "quote_same_store_units"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoShopper ZIP for the store search radius.
makeNoMake of the matching units, e.g. Toyota.
trimNoTrim, e.g. LE.
modelNoModel of the matching units, e.g. RAV4.
financedNoTrue if financed, false for cash, same as estimate_out_the_door.
quantityNoHow many units, 2 to 25 (omit when passing listing_ids).
store_idNoLimit to one store, e.g. lakeshorecity-60601.
year_maxNoLatest model year.
year_minNoEarliest model year.
buyer_zipNoBuyer's ZIP; fills state, county and city.
conditionNonew, used or cpo.
fuel_typeNogasoline, hybrid, plug_in_hybrid or electric.
min_seatsNoMinimum sourced seats.
body_styleNosuv, sedan, pickup, hatchback, minivan or wagon.
buyer_cityNoBuyer's city.
dealer_keyNoLimit to one dealer's stores.
drivetrainNofwd, awd, rwd or 4wd.
buyer_stateNoBuyer's two-letter state for tax and fees.
listing_idsNoOptional: 2 to 25 listing ids (dealer_key:VIN) you picked, all at one store.
max_mileageNoMaximum odometer miles.
min_tow_lbsNoMinimum sourced max towing in lbs.
buyer_countyNoBuyer's county.
radius_milesNoRadius in miles around zip for the stores considered.
min_cargo_cuftNoMinimum sourced cargo volume in cu ft.
min_payload_lbsNoMinimum sourced max payload in lbs.
min_range_milesNoMinimum EPA range in miles (EVs).
include_line_itemsNoTrue to include each unit's itemized lines.
eligible_incentive_labelsNoConditional incentive labels the buyer qualifies for (per unit).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world, but the description adds real behavior: no fleet/volume discount, no commercial registration or combined buyer's order, synthetic demo listings, estimates are not offers, and the store-selection rule (lowest total for the cheapest N matches, with alternatives listed). It also pins totals to the cent against estimate_out_the_door.

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?

Front-loaded with the purpose sentence, then the two modes, then the pricing guarantee and caveats. The inline parameter enumeration ('make, model, trim, years, condition, mileage, body_style, sourced cargo, seats or towing') partly repeats the schema, but the rest of the wording is dense and earns its space.

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 28-parameter, zero-required tool with no output schema, the description covers store selection, per-unit pricing equivalence, alternative results, the fallback case, and modeling limits. What is missing is the response shape beyond 'lists alternatives' and any note on how include_line_items changes output volume.

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

Parameters4/5

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

With 100% schema coverage the baseline is 3, but the description adds cross-parameter semantics the schema cannot: listing_ids and (quantity + match filters) are mutually exclusive modes, and listing_ids must be 'all at one store.' The remaining filter parameters are only name-dropped, so it does not exceed this.

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+resource+scope: 'Multi-unit SAME-STORE out-the-door estimate: N matching units at one store.' It explicitly contrasts with the sibling estimate_out_the_door (single-unit pricing), so an agent can pick between them without opening a schema.

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?

Gives two concrete invocation paths ('Pass listing_ids you picked, or quantity plus a match...') and a locality hint (zip and radius_miles). It also defines fallback behavior when no store has N units. It stops short of an explicit 'use estimate_out_the_door instead when you want a single car,' leaving that inference to the reader.

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