Skip to main content
Glama

Grade a dealer A to F from real out-the-door quotes

lookup_dealer_transparency
Read-onlyIdempotent

Use this when the shopper asks whether a dealer is legit or can be trusted on price, how honest a dealer is about fees and add-ons, what its doc fee usually is, or how its fees compare, e.g. dealer_name: "Towne Hyundai", state: "NY". The grade comes from real out-the-door quotes from that dealer, not from reviews. It does not check licences, reviews or complaints. Do not use it to find stores (that is stores_list).

It returns the dealer's CarEdge Dealer Transparency Index grade (A to F) and score, the number of out-the-door quotes the grade is based on (quote_count), its average and median doc fee, add-on behavior and price accuracy, and doc_fee_benchmarks: the state and national average doc fee from CarEdge's State of Dealer Fees report.

With a VIN, the grade is for the store selling that car, which matters for dealer groups with several locations. The state tells apart dealers with the same name. When a name matches dealers in more than one state and no state or VIN is given, dealer is null and matches lists them (name, city, state, grade, quote count); the same call with one of those states returns that dealer. dealer is null, with a message, when CarEdge holds no grade for that dealer; similar_names then lists graded dealers sharing the name's other words, which may be different dealers. A dealer graded F because it never sent a written price has grade_reason saying so, quote_count 0 and null scores and fees. Any other dealer with no quotes has a null grade. A fee or score CarEdge has not recorded is null, not zero.

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": {
      "dealer_name": "<dealer_name>"
    },
    "name": "lookup_dealer_transparency"
  }
}

Input Schema

NameRequiredDescriptionDefault
vinNo17-character VIN of the car the shopper is asking about. Pass it when you have it: the grade is then for the exact store selling that VIN, which matters for dealer groups with several locations. Falls back to `dealer_name` when left out.
stateNoDealer's 2-letter state code (e.g. 'MD', 'VA') when known — pass it whenever you know where the dealer/listing is. It disambiguates same-named dealers across states, matching the website's dealer lookup. Omit if unknown (or pass the VIN, which resolves location automatically).
dealer_nameYesDealer name (e.g., 'Keffer Hyundai')
vehicle_makeNoVehicle make to get brand-specific add-on data
vehicle_modelNoVehicle model to find same-model quotes from this dealer

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
freshnessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantially more: the data provenance (real out-the-door quotes, not reviews), the specific return fields, and nuanced edge cases — null `dealer` with `matches` for multi-state name collisions, null `dealer` with `message` and `similar_names` when no grade is held, and the F-grade/`grade_reason`/zero-quote case. It further clarifies that missing fees are null rather than zero, which prevents a real misinterpretation.

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 trigger and the exclusion, then return shape, then edge cases — a sensible ordering. It is dense and every sentence conveys a distinct behavior, though the long return-value paragraph partly overlaps the output schema and could be tightened.

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?

Given five parameters, an output schema, and a lookup that can return three distinct shapes (graded dealer, ambiguous matches, no grade), the description covers provenance, ambiguity resolution, and degenerate cases thoroughly. An agent has everything needed to call it and interpret the result without guessing.

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%, so the baseline is 3; the description still adds value by explaining why `state` matters (disambiguating same-named dealers across states), how `vin` overrides name for dealer groups with multiple locations, and what happens when neither is supplied. It does not, however, explain what `vehicle_make`/`vehicle_model` change about the response, leaving those two params to the schema alone.

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 (grade a dealer's transparency from out-the-door quotes) and explicitly negates siblings: 'Do not use it to find stores (that is stores_list).' It also names what the data is NOT (reviews, licences, complaints), which pins the tool down unambiguously.

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?

Opens with concrete triggering shopper questions ('is this dealer legit', 'what is its doc fee', 'how do fees compare') and a worked example call. It names an explicit exclusion with the correct alternative (`stores_list`) and explains the VIN-vs-state selection logic for disambiguation.

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