Skip to main content
Glama

cars-data.com — Car Specs API

List generations of a model

list_generations
Read-onlyIdempotent

Generations/facelifts of a model, with production years. This answers from a fixed 40-car demo set. Full catalogue: pay per request with x402, no key (GET /v1/variants/{id}/specs $0.05, /v1/search $0.005, /v1/variants $0.005, /v1/compare $0.1, USDC on Base); or the Apify Actor, billed per event by Apify (https://apify.com/carsdatacom/car-specs-api).

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": {
      "model_id": "<model_id>"
    },
    "name": "list_generations"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoResponse language, one of the 20 published languages (en, ro, fr, de, es, it, sr, hr, pt, pl, cs, sk, hu, no, sv, el, bg, da, ar, tr). Spec labels and enum values come back translated. Default: en.
model_idYesOpaque model id from a search_cars or filter_cars result, e.g. m_1a2b3c4d

Output Schema

NameRequiredDescriptionDefault
dataYesGenerations of the model

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / locale / description
      Added value: +"Response language, one of the 20 published languages (en, ro, fr, de, es, it, sr, hr, pt, pl, cs, sk, hu, no, sv, el, bg, da, ar, tr). Spec labels and enum values come back translated. Default: en."
    • changedInput schema / properties / model_id / description
      Previous value: -"opaque model id, e.g. m_1a2b3c4d"New value: +"Opaque model id from a search_cars or filter_cars result, e.g. m_1a2b3c4d"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "data": {
      +      "description": "Generations of the model",
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "display_name": {
      +            "description": "Generation / facelift name",
      +            "type": "string"
      +          },
      +          "generation_id": {
      +            "description": "Opaque generation id",
      +            "type": "string"
      +          },
      +          "model_id": {
      +            "description": "Opaque model id",
      +            "type": "string"
      +          },
      +          "years": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Production years, e.g. '2019–2024'; '2021–' is still in production"
      +          }
      +        },
      +        "required": [
      +          "generation_id",
      +          "model_id",
      +          "display_name",
      +          "years"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. Changed5 schema fields changed
    • changedInput schema / properties / locale / enum
      Previous value: -[
      -  "en",
      -  "ro",
      -  "fr",
      -  "de",
      -  "es",
      -  "it",
      -  "sr",
      -  "hr",
      -  "pt",
      -  "pl",
      -  "cs",
      -  "sk",
      -  "hu",
      -  "no",
      -  "sv",
      -  "el",
      -  "bg",
      -  "da",
      -  "ar"
      -]New value: +[
      +  "en",
      +  "ro",
      +  "fr",
      +  "de",
      +  "es",
      +  "it",
      +  "sr",
      +  "hr",
      +  "pt",
      +  "pl",
      +  "cs",
      +  "sk",
      +  "hu",
      +  "no",
      +  "sv",
      +  "el",
      +  "bg",
      +  "da",
      +  "ar",
      +  "tr"
      +]
    • addedInput schema / properties / model_id / description
      Added value: +"opaque model id, e.g. m_1a2b3c4d"
    • removedInput schema / properties / model_id / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / model_id / minimum
      Removed value: --9007199254740991
    • changedInput schema / properties / model_id / type
      Previous value: -"integer"New value: +"string"
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and closed-world behavior, so the safety profile is covered. The description adds genuinely new behavioral context that the annotations cannot: results are limited to a 40-car demo dataset, which materially affects what an agent should expect back and when it needs an alternative source.

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?

The purpose is correctly front-loaded in the first clause, but the second sentence is a long pricing parenthetical (five endpoint prices, USDC on Base, Apify billing) that is only loosely tied to invoking this tool. The dataset-coverage warning earns its place; most of the pricing detail does not.

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?

This is a simple two-parameter read tool with an output schema, so return values need no explanation. The description covers scope limits and where fuller data lives, leaving only sibling-level routing unaddressed.

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?

With 100% schema description coverage, both model_id (opaque id from search_cars or filter_cars) and locale (20-language enum with translation behavior) are already fully documented in the schema. The description adds nothing about either parameter, so the baseline of 3 applies.

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?

"Generations/facelifts of a model, with production years" states the specific resource and what is returned, which is enough to separate it from siblings like get_specs, get_images and compare_variants. The verb is only implied by the tool name rather than written into the description, but the resource and scope are unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description does establish an important usage boundary: answers come from a fixed 40-car demo set, and the full catalogue requires external paid endpoints. However it gives no guidance on when to pick this tool over get_specs, get_specs_full or search_cars for a given model, so the sibling selection is left to inference.

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.