Skip to main content
Glama

Agentic Dealer Network

Count and summarize network inventory

inventory_stats
Read-onlyIdempotent

Aggregate available inventory across the network in ONE call: counts, effective-price min/median/max and the top values per facet. Example: {"dimensions": ["make_model", "body_style"], "condition": "used", "rooftop_slugs": ["mms"]}. Geo (latitude and longitude, optional radius_miles) and oem_program_slug scope exactly as network_search. Pivot mode (group_by, up to 2 of the facets plus state, dealer_group, price_band, age_band) returns one row per group with count and medians; dimensions and group_by are mutually exclusive; format csv returns the rows as CSV. Pass country=CA for Canadian dealers.

Input Schema

NameRequiredDescriptionDefault
makeNo
trimNo
modelNo
formatNo
countryNoMarket to search; rooftops in the other country are excluded. Prices are in that country's currency; the radius stays in miles.US
group_byNo
latitudeNo
conditionNo
fuel_typeNo
longitudeNo
price_maxNoMaximum expiry-gated effective price.
price_minNoMinimum expiry-gated effective price.
body_styleNo
dimensionsNoOne to four unique facets. make_model values join nonblank make and model with one space; rooftop values are rooftop slugs.
drivetrainNo
listed_onlyNoWhen true, only units with at least one stored photo and a vehicle detail page (vdp_url). Absent or false returns every available unit, including stock the dealer has not merchandised yet.
is_certifiedNo
odometer_maxNo
radius_milesNo
transmissionNo
rooftop_slugsNoRestrict the single-snapshot aggregation to these network rooftops.
exterior_colorNo
interior_colorNo
model_year_maxNo
model_year_minNo
oem_program_slugNo
passenger_capacity_minNo

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoUnknown and foreign thread ids are deliberately indistinguishable: both return invalid_params with message "unknown thread_id" (anti-enumeration).
freshnessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "oneOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "catalog_watermark": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "dimensions": {
      +              "additionalProperties": false,
      +              "description": "Contains one property for each requested dimension.",
      +              "properties": {
      +                "body_style": {
      +                  "additionalProperties": false,
      +                  "description": "values contains at most 20 nonmissing values ordered by count descending then value ascending. other_count covers nonmissing values outside the top 20; missing_count includes both null and blank strings.",
      +                  "properties": {
      +                    "missing_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "other_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "values": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "count": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "count"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "values",
      +                    "other_count",
      +                    "missing_count"
      +                  ],
      +                  "type": "object"
      +                },
      +                "condition": {
      +                  "additionalProperties": false,
      +                  "description": "values contains at most 20 nonmissing values ordered by count descending then value ascending. other_count covers nonmissing values outside the top 20; missing_count includes both null and blank strings.",
      +                  "properties": {
      +                    "missing_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "other_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "values": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "count": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "count"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "values",
      +                    "other_count",
      +                    "missing_count"
      +                  ],
      +                  "type": "object"
      +                },
      +                "drivetrain": {
      +                  "additionalProperties": false,
      +                  "description": "values contains at most 20 nonmissing values ordered by count descending then value ascending. other_count covers nonmissing values outside the top 20; missing_count includes both null and blank strings.",
      +                  "properties": {
      +                    "missing_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "other_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "values": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "count": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "count"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "values",
      +                    "other_count",
      +                    "missing_count"
      +                  ],
      +                  "type": "object"
      +                },
      +                "exterior_color": {
      +                  "additionalProperties": false,
      +                  "description": "values contains at most 20 nonmissing values ordered by count descending then value ascending. other_count covers nonmissing values outside the top 20; missing_count includes both null and blank strings.",
      +                  "properties": {
      +                    "missing_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "other_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "values": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "count": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "count"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "values",
      +                    "other_count",
      +                    "missing_count"
      +                  ],
      +                  "type": "object"
      +                },
      +                "fuel_type": {
      +                  "additionalProperties": false,
      +                  "description": "values contains at most 20 nonmissing values ordered by count descending then value ascending. other_count covers nonmissing values outside the top 20; missing_count includes both null and blank strings.",
      +                  "properties": {
      +                    "missing_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "other_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "values": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "count": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "count"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "values",
      +                    "other_count",
      +                    "missing_count"
      +                  ],
      +                  "type": "object"
      +                },
      +                "make": {
      +                  "additionalProperties": false,
      +                  "description": "values contains at most 20 nonmissing values ordered by count descending then value ascending. other_count covers nonmissing values outside the top 20; missing_count includes both null and blank strings.",
      +                  "properties": {
      +                    "missing_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "other_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "values": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "count": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "count"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "values",
      +                    "other_count",
      +                    "missing_count"
      +                  ],
      +                  "type": "object"
      +                },
      +                "make_model": {
      +                  "additionalProperties": false,
      +                  "description": "values contains at most 20 nonmissing values ordered by count descending then value ascending. other_count covers nonmissing values outside the top 20; missing_count includes both null and blank strings.",
      +                  "properties": {
      +                    "missing_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "other_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "values": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "count": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "count"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "values",
      +                    "other_count",
      +                    "missing_count"
      +                  ],
      +                  "type": "object"
      +                },
      +                "model": {
      +                  "additionalProperties": false,
      +                  "description": "values contains at most 20 nonmissing values ordered by count descending then value ascending. other_count covers nonmissing values outside the top 20; missing_count includes both null and blank strings.",
      +                  "properties": {
      +                    "missing_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "other_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "values": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "count": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "count"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "values",
      +                    "other_count",
      +                    "missing_count"
      +                  ],
      +                  "type": "object"
      +                },
      +                "model_year": {
      +                  "additionalProperties": false,
      +                  "description": "values contains at most 20 nonmissing values ordered by count descending then value ascending. other_count covers nonmissing values outside the top 20; missing_count includes both null and blank strings.",
      +                  "properties": {
      +                    "missing_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "other_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "values": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "count": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "count"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "values",
      +                    "other_count",
      +                    "missing_count"
      +                  ],
      +                  "type": "object"
      +                },
      +                "rooftop": {
      +                  "additionalProperties": false,
      +                  "description": "values contains at most 20 nonmissing values ordered by count descending then value ascending. other_count covers nonmissing values outside the top 20; missing_count includes both null and blank strings.",
      +                  "properties": {
      +                    "missing_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "other_count": {
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "values": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "count": {
      +                            "minimum": 1,
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "count"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "values",
      +                    "other_count",
      +                    "missing_count"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "market": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "country": {
      +                  "enum": [
      +                    "US",
      +                    "CA"
      +                  ],
      +                  "type": "string"
      +                },
      +                "currency": {
      +                  "type": "string"
      +                },
      +                "odometer_unit": {
      +                  "enum": [
      +                    "mi",
      +                    "km"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "country",
      +                "currency",
      +                "odometer_unit"
      +              ],
      +              "type": "object"
      +            },
      +            "price": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "currency": {
      +                  "type": "string"
      +                },
      +                "max": {
      +                  "minimum": 0,
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "median": {
      +                  "minimum": 0,
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "min": {
      +                  "minimum": 0,
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "priced_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "currency",
      +                "priced_count",
      +                "min",
      +                "max",
      +                "median"
      +              ],
      +              "type": "object"
      +            },
      +            "rooftop_slugs_covered": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "maxItems": 20,
      +              "type": "array",
      +              "uniqueItems": true
      +            },
      +            "total": {
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "total",
      +            "dimensions",
      +            "price",
      +            "catalog_watermark"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "catalog_version": {
      +              "type": "string"
      +            },
      +            "catalog_watermark": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "market": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "country": {
      +                  "enum": [
      +                    "US",
      +                    "CA"
      +                  ],
      +                  "type": "string"
      +                },
      +                "currency": {
      +                  "type": "string"
      +                },
      +                "odometer_unit": {
      +                  "enum": [
      +                    "mi",
      +                    "km"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "country",
      +                "currency",
      +                "odometer_unit"
      +              ],
      +              "type": "object"
      +            },
      +            "pivot": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "group_by": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "maxItems": 2,
      +                  "minItems": 1,
      +                  "type": "array",
      +                  "uniqueItems": true
      +                },
      +                "missing": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "age_band": {
      +                      "type": "integer"
      +                    },
      +                    "body_style": {
      +                      "type": "integer"
      +                    },
      +                    "condition": {
      +                      "type": "integer"
      +                    },
      +                    "dealer_group": {
      +                      "type": "integer"
      +                    },
      +                    "drivetrain": {
      +                      "type": "integer"
      +                    },
      +                    "exterior_color": {
      +                      "type": "integer"
      +                    },
      +                    "fuel_type": {
      +                      "type": "integer"
      +                    },
      +                    "make": {
      +                      "type": "integer"
      +                    },
      +                    "make_model": {
      +                      "type": "integer"
      +                    },
      +                    "model": {
      +                      "type": "integer"
      +                    },
      +                    "model_year": {
      +                      "type": "integer"
      +                    },
      +                    "price_band": {
      +                      "type": "integer"
      +                    },
      +                    "rooftop": {
      +                      "type": "integer"
      +                    },
      +                    "state": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "other": {
      +                  "oneOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "age_band": {
      +                          "type": "string"
      +                        },
      +                        "body_style": {
      +                          "type": "string"
      +                        },
      +                        "condition": {
      +                          "type": "string"
      +                        },
      +                        "count": {
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "days_in_stock_median": {
      +                          "minimum": 0,
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        },
      +                        "dealer_group": {
      +                          "type": "string"
      +                        },
      +                        "dealer_group_name": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "drivetrain": {
      +                          "type": "string"
      +                        },
      +                        "exterior_color": {
      +                          "type": "string"
      +                        },
      +                        "fuel_type": {
      +                          "type": "string"
      +                        },
      +                        "make": {
      +                          "type": "string"
      +                        },
      +                        "make_model": {
      +                          "type": "string"
      +                        },
      +                        "model": {
      +                          "type": "string"
      +                        },
      +                        "model_year": {
      +                          "type": "string"
      +                        },
      +                        "odometer_median": {
      +                          "minimum": 0,
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        },
      +                        "price_band": {
      +                          "type": "string"
      +                        },
      +                        "price_max": {
      +                          "minimum": 0,
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        },
      +                        "price_median": {
      +                          "minimum": 0,
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        },
      +                        "price_min": {
      +                          "minimum": 0,
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        },
      +                        "priced_count": {
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "rooftop": {
      +                          "type": "string"
      +                        },
      +                        "state": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "count",
      +                        "priced_count",
      +                        "price_min",
      +                        "price_median",
      +                        "price_max",
      +                        "odometer_median",
      +                        "days_in_stock_median"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "rows": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "age_band": {
      +                        "type": "string"
      +                      },
      +                      "body_style": {
      +                        "type": "string"
      +                      },
      +                      "condition": {
      +                        "type": "string"
      +                      },
      +                      "count": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "days_in_stock_median": {
      +                        "minimum": 0,
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "dealer_group": {
      +                        "type": "string"
      +                      },
      +                      "dealer_group_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "drivetrain": {
      +                        "type": "string"
      +                      },
      +                      "exterior_color": {
      +                        "type": "string"
      +                      },
      +                      "fuel_type": {
      +                        "type": "string"
      +                      },
      +                      "make": {
      +                        "type": "string"
      +                      },
      +                      "make_model": {
      +                        "type": "string"
      +                      },
      +                      "model": {
      +                        "type": "string"
      +                      },
      +                      "model_year": {
      +                        "type": "string"
      +                      },
      +                      "odometer_median": {
      +                        "minimum": 0,
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "price_band": {
      +                        "type": "string"
      +                      },
      +                      "price_max": {
      +                        "minimum": 0,
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "price_median": {
      +                        "minimum": 0,
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "price_min": {
      +                        "minimum": 0,
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "priced_count": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "rooftop": {
      +                        "type": "string"
      +                      },
      +                      "state": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "count",
      +                      "priced_count",
      +                      "price_min",
      +                      "price_median",
      +                      "price_max",
      +                      "odometer_median",
      +                      "days_in_stock_median"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "maxItems": 200,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "group_by",
      +                "rows",
      +                "other",
      +                "missing"
      +              ],
      +              "type": "object"
      +            },
      +            "price": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "currency": {
      +                  "type": "string"
      +                },
      +                "max": {
      +                  "minimum": 0,
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "median": {
      +                  "minimum": 0,
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "min": {
      +                  "minimum": 0,
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "priced_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "currency",
      +                "priced_count",
      +                "min",
      +                "max",
      +                "median"
      +              ],
      +              "type": "object"
      +            },
      +            "rooftop_slugs_covered": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "maxItems": 20,
      +              "type": "array",
      +              "uniqueItems": true
      +            },
      +            "total": {
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "total",
      +            "pivot",
      +            "price",
      +            "catalog_watermark",
      +            "catalog_version"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "catalog_version": {
      +              "type": "string"
      +            },
      +            "catalog_watermark": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "csv": {
      +              "type": "string"
      +            },
      +            "market": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "country": {
      +                  "enum": [
      +                    "US",
      +                    "CA"
      +                  ],
      +                  "type": "string"
      +                },
      +                "currency": {
      +                  "type": "string"
      +                },
      +                "odometer_unit": {
      +                  "enum": [
      +                    "mi",
      +                    "km"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "country",
      +                "currency",
      +                "odometer_unit"
      +              ],
      +              "type": "object"
      +            },
      +            "price": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "currency": {
      +                  "type": "string"
      +                },
      +                "max": {
      +                  "minimum": 0,
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "median": {
      +                  "minimum": 0,
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "min": {
      +                  "minimum": 0,
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "priced_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "currency",
      +                "priced_count",
      +                "min",
      +                "max",
      +                "median"
      +              ],
      +              "type": "object"
      +            },
      +            "rows": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "age_band": {
      +                    "type": "string"
      +                  },
      +                  "body_style": {
      +                    "type": "string"
      +                  },
      +                  "condition": {
      +                    "type": "string"
      +                  },
      +                  "count": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "days_in_stock_median": {
      +                    "minimum": 0,
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "dealer_group": {
      +                    "type": "string"
      +                  },
      +                  "dealer_group_name": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "drivetrain": {
      +                    "type": "string"
      +                  },
      +                  "exterior_color": {
      +                    "type": "string"
      +                  },
      +                  "fuel_type": {
      +                    "type": "string"
      +                  },
      +                  "make": {
      +                    "type": "string"
      +                  },
      +                  "make_model": {
      +                    "type": "string"
      +                  },
      +                  "model": {
      +                    "type": "string"
      +                  },
      +                  "model_year": {
      +                    "type": "string"
      +                  },
      +                  "odometer_median": {
      +                    "minimum": 0,
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "price_band": {
      +                    "type": "string"
      +                  },
      +                  "price_max": {
      +                    "minimum": 0,
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "price_median": {
      +                    "minimum": 0,
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "price_min": {
      +                    "minimum": 0,
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "priced_count": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "rooftop": {
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "count",
      +                  "priced_count",
      +                  "price_min",
      +                  "price_median",
      +                  "price_max",
      +                  "odometer_median",
      +                  "days_in_stock_median"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 201,
      +              "type": "array"
      +            },
      +            "total": {
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "csv",
      +            "rows",
      +            "total",
      +            "price",
      +            "catalog_watermark",
      +            "catalog_version"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "error": {
      +      "additionalProperties": false,
      +      "description": "Unknown and foreign thread ids are deliberately indistinguishable: both return invalid_params with message \"unknown thread_id\" (anti-enumeration).",
      +      "properties": {
      +        "auth_help_url": {
      +          "description": "Present only when no credential was supplied for a capability that requires one. Points to human documentation for obtaining a key. Absent for invalid, pending, or disabled credentials, which are deliberately indistinguishable.",
      +          "format": "uri",
      +          "maxLength": 500,
      +          "type": "string"
      +        },
      +        "code": {
      +          "enum": [
      +            "rooftop_not_found",
      +            "rooftop_inactive",
      +            "unit_not_found",
      +            "invalid_params",
      +            "rate_limited",
      +            "upstream_unavailable",
      +            "capability_unavailable",
      +            "identity_required",
      +            "quota_exceeded",
      +            "unit_held",
      +            "quote_expired",
      +            "rooftop_paused",
      +            "handoff_duplicate",
      +            "idempotency_conflict",
      +            "price_unavailable",
      +            "snapshot_expired",
      +            "artifact_too_large",
      +            "cursor_invalid",
      +            "cursor_expired",
      +            "ambiguous_identity",
      +            "unsupported_in_country"
      +          ]
      +        },
      +        "message": {
      +          "maxLength": 500,
      +          "type": "string"
      +        },
      +        "retry_after_seconds": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "retryable": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message",
      +        "retryable"
      +      ],
      +      "type": "object"
      +    },
      +    "freshness": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "by_rooftop": {
      +          "additionalProperties": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "last_ingest_at": {
      +                "format": "date-time",
      +                "maxLength": 40,
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "status": {
      +                "enum": [
      +                  "fresh",
      +                  "stale",
      +                  "no_data"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "last_ingest_at"
      +            ],
      +            "type": "object"
      +          },
      +          "maxProperties": 500,
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "by_rooftop"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / listed_only
      Added value: +{
      +  "description": "When true, only units with at least one stored photo and a vehicle detail page (vdp_url). Absent or false returns every available unit, including stock the dealer has not merchandised yet.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / country
      Added value: +{
      +  "default": "US",
      +  "description": "Market to search; rooftops in the other country are excluded. Prices are in that country's currency; the radius stays in miles.",
      +  "enum": [
      +    "US",
      +    "CA"
      +  ],
      +  "type": "string"
      +}
  4. Changed8 schema fields changed
    • changedInput schema / description
      Previous value: -"Categorical arrays are ORed within their field; separate filter fields are ANDed together. Aggregation has no pagination or sorting input."New value: +"Categorical arrays are ORed within their field; separate filter fields are ANDed together. Aggregation has no pagination or sorting input. Server-enforced: latitude requires longitude; longitude requires latitude; radius_miles requires latitude and longitude. Exactly one of dimensions | group_by is required. Additional argument rules are enforced server-side."
    • addedInput schema / properties / format
      Added value: +{
      +  "enum": [
      +    "json",
      +    "csv"
      +  ]
      +}
    • addedInput schema / properties / group_by
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "make",
      +      "model",
      +      "make_model",
      +      "condition",
      +      "body_style",
      +      "fuel_type",
      +      "drivetrain",
      +      "exterior_color",
      +      "model_year",
      +      "rooftop",
      +      "state",
      +      "dealer_group",
      +      "price_band",
      +      "age_band"
      +    ]
      +  },
      +  "maxItems": 2,
      +  "minItems": 1,
      +  "type": "array",
      +  "uniqueItems": true
      +}
    • addedInput schema / properties / latitude
      Added value: +{
      +  "maximum": 90,
      +  "minimum": -90,
      +  "type": "number"
      +}
    • addedInput schema / properties / longitude
      Added value: +{
      +  "maximum": 180,
      +  "minimum": -180,
      +  "type": "number"
      +}
    • addedInput schema / properties / oem_program_slug
      Added value: +{
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / radius_miles
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 500,
      +  "type": "number"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "dimensions"
      -]
  5. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds real behavioral detail beyond that: dimensions and group_by are mutually exclusive, pivot mode is limited to two facets plus a fixed set of groupers, csv changes the output shape, and country=CA switches markets. It doesn't discuss result limits or snapshot freshness beyond the schema's note.

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?

It leads with the core capability and the output shape, then layers the example, the geo/scope rule, pivot mode, and the CA note. The paragraph is dense but every clause carries information; only the example value is arguably dispensable filler.

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?

An output schema exists, so return values need no prose, and the description still covers the mode-selection rules, format switch, and market switch that an agent must know before calling. For a 27-parameter read-only aggregation tool, nothing essential to a correct first call is missing.

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 description coverage is only 22% across 27 parameters, so the description is expected to compensate, and it targets the genuinely confusing ones: dimensions/group_by semantics, their mutual exclusivity, the pivot grouper set, format=csv, and the country/currency behavior. The remaining filters (make, model, colors, years, price) are self-evident from their names but receive no elaboration here.

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 opening sentence names a specific verb and resource ('Aggregate available inventory across the network') and enumerates exactly what comes back: counts, effective-price min/median/max, and top values per facet. The 'ONE call' framing implicitly separates it from the sibling listing tools such as network_search.

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 gives a concrete example invocation and explains that geo and oem_program_slug 'scope exactly as network_search,' which anchors the mental model for an agent already familiar with that sibling. It stops short of an explicit when-not-to-use statement versus network_search or inventory_comparables, leaving that inference to the agent.

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