Skip to main content
Glama

get_listing

Read-onlyIdempotent

Full synthetic listing record with per-value provenance (method 'synthetic'). listing_id is dealer_key:VIN (as returned by search_inventory) or the urn. The vehicle-to-store link is in listing.selling_location (link_status, selling_location_id, candidates, flags such as group_site_lists_sister_store or multi_store_unstated); the dealer block is the advertising dealer. For price and fees in a compact form, use get_price_breakdown. decision_attributes holds the job-specific attributes (EV range, efficiency, charging; towing and payload; NHTSA safety rating and driver-assist features; rear camera; seats; cargo) with, for each value, its source ids, the source documents (publisher, URL, retrieval date) and record links (EPA and NHTSA ids); not_available gives the reason for every null. They describe the year, make, model, trim and drivetrain, not this synthetic unit.

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_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
listing_idYesdealer_key:VIN from search_inventory, or the listing urn.
electricity_price_per_kwhNoOptional: shopper's electricity price in USD per kWh (e.g. 0.32) to compute an EV's energy_cost_per_mile from EPA efficiency. No default is assumed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / electricity_price_per_kwh
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional: shopper's electricity price in USD per kWh (e.g. 0.32) to compute an EV's energy_cost_per_mile from EPA efficiency. No default is assumed.",
      +  "title": "Electricity Price Per Kwh"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / listing_id / description
      Added value: +"dealer_key:VIN from search_inventory, or the listing urn."
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description still adds substantial behavioral detail: values are synthetic with method 'synthetic' provenance, selling_location carries link_status/candidates/flags, decision_attributes carry source ids and documents, and not_available explains nulls. It also flags the important caveat that attributes describe the year/make/model/trim rather than the specific synthetic unit. Missing only error/not-found behavior.

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

Conciseness3/5

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

Every clause is informative, but the text is a dense wall of nested parentheticals with no front-loaded purpose sentence or paragraph breaks, forcing the agent to parse field inventories before understanding what the call does. Restructuring with a one-line lead and grouped bullets would preserve content while improving scanability.

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?

There is no output schema, so the description correctly takes on the burden of describing the returned record's shape, provenance semantics, and null handling — which it does in unusual depth for a lookup tool. The only real omission is how the optional electricity price affects computation, which the schema covers minimally.

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 coverage is 100%, so both parameters are already documented, and the description essentially restates the listing_id format already present in the schema. It says nothing about electricity_price_per_kwh or how it drives energy_cost_per_mile, so it adds no meaning beyond the structured fields.

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

Purpose4/5

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

The description makes clear this returns the full synthetic listing record keyed by listing_id (dealer_key:VIN or urn), and it explicitly contrasts with get_price_breakdown for compact price/fee data. However, it never states a clean verb-led purpose sentence ('retrieve the full listing for a vehicle'), opening instead with record structure, so the agent must infer the action from the noun phrase.

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 names one alternative and the condition selecting it ('For price and fees in a compact form, use get_price_breakdown'), and the phrase 'as returned by search_inventory' implies the search-then-fetch workflow. There is no explicit when-not-to-use guidance or statement about what to do if the listing_id is unknown.

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