Skip to main content
Glama

get_price_breakdown

Read-onlyIdempotent

Use this to see what the dealer LISTS for ONE listing, as published: headline price, MSRP (new cars), price_components, dealer fees (doc fee and others) and fee bundles (parts marked part_of_bundle, not double counted), flags such as whether the advertised price already includes fees, options, incentives split into all_buyer (already in the price) and conditional (not in the price), and the state's public tax and fee RULES with data-flag checks. It takes no buyer inputs and computes no tax amounts or total. Use estimate_out_the_door next for the buyer's total with tax, title, registration and fees, and get_payment_estimate for a monthly payment. Pass conditional incentive label_raw values to those tools as eligible_incentive_labels only if the shopper qualifies. A dealer-advertised monthly payment, when present, is a price_components item of type payment_quote: dealer ad text, not a calculation. Each price_component has a plain label, source_text and method_text; fees and incentives carry tax_treatment (taxable or reduces_taxable_amount, whether it is inside the advertised price, and why).

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": {
      "listing_id": "<listing_id>"
    },
    "name": "get_price_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
listing_idYesdealer_key:VIN from search_inventory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / listing_id / description
      Added value: +"dealer_key:VIN from search_inventory."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered; the description adds substantive scope limits — 'takes no buyer inputs and computes no tax amounts or total' — which prevents an agent from expecting a computed out-the-door figure. It also clarifies that a dealer-advertised monthly payment is ad text ('payment_quote'), not a calculation, and explains tax_treatment semantics. A minor gap remains in not describing result ordering or size.

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?

The core purpose and the sibling routing are front-loaded in the first two sentences, and the return-field detail (label, source_text, method_text, tax_treatment) earns its place because there is no output schema. The middle sentences are dense and run long, but little is genuinely redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one required parameter, full schema coverage, no output schema and no nested objects, the description carries the return-value burden and does so: it names the components returned, the flag semantics, the incentive split into all_buyer and conditional, and the presence of state tax rules. An agent has enough to call it and interpret the response.

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?

Schema coverage is 100% and the schema already documents listing_id as dealer_key:VIN from search_inventory, so the description does not need to repeat the format. It does add parameter-scope meaning by stating the tool takes no buyer inputs, which tells the agent not to hunt for zip code or incentive parameters.

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 — showing what the dealer LISTS for ONE listing as published — then enumerates the concrete contents (headline price, MSRP, price_components, doc fees, fee bundles, incentives, state tax rules). It explicitly contrasts itself with estimate_out_the_door and get_payment_estimate, so an agent can distinguish it from siblings 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 Guidelines5/5

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

Explicit routing: 'Use estimate_out_the_door next for the buyer's total... and get_payment_estimate for a monthly payment,' plus a conditional rule for passing label_raw values as eligible_incentive_labels only when the shopper qualifies. Both when-to-use and the handoff conditions are stated, not implied.

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