Skip to main content
Glama

Car Image API catalog

Preview a stored car image

preview_car_image
Read-onlyIdempotent

Free, no account needed. The picture of a catalog vehicle that its public page on carimage.dev already shows, when one is stored: a 600 px WebP with ready-to-paste markdown, the view and paint it is in, and every stored view and paint (preview: false marks the ones that load only from an account). Free previews are in the page's own paint only. Never renders: another view, paint or size, or a vehicle with nothing stored, is an image from the account server (create_car_image_urls, one vehicle image of the plan). Pass the vehicle id from resolve_vehicle or search_vehicles, plus the view and color the human asked for. Say it is a preview, and name its view and color when they differ from the request.

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": {
      "vehicle": "<vehicle>"
    },
    "name": "preview_car_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoThe view the human asked for, if any. A stored picture in that view is preferred; otherwise the vehicle page's main picture is returned and the result says which view it is.
colorNoThe paint the human asked for, if any (a preset, a CSS color name or a hex). Preferred when a picture in that paint is stored; never recolored here.
vehicleYesStable vehicle id such as veh_395yw8tn73ff8, as resolve_vehicle (params.vehicle_id), search_vehicles and decode_vin return it. The preferred way to name a vehicle: it cannot be misspelled. It names the make, model and year, so omit those when it is given.

Output Schema

NameRequiredDescriptionDefault
dataYes
summaryNo
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / data / properties / stored / items / properties / preview
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / data / properties / stored / items / required
      Previous value: -[
      -  "view",
      -  "color"
      -]New value: +[
      +  "view",
      +  "color",
      +  "preview"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / data / properties / preview / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "color": {
      -        "type": "string"
      -      },
      -      "markdown": {
      -        "type": "string"
      -      },
      -      "matches_color": {
      -        "type": "boolean"
      -      },
      -      "matches_view": {
      -        "type": "boolean"
      -      },
      -      "url": {
      -        "type": "string"
      -      },
      -      "view": {
      -        "type": "string"
      -      },
      -      "width": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "url",
      -      "markdown",
      -      "view",
      -      "color",
      -      "width",
      -      "matches_view",
      -      "matches_color"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "color": {
      +        "type": "string"
      +      },
      +      "height": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "markdown": {
      +        "type": "string"
      +      },
      +      "matches_color": {
      +        "type": "boolean"
      +      },
      +      "matches_view": {
      +        "type": "boolean"
      +      },
      +      "url": {
      +        "type": "string"
      +      },
      +      "view": {
      +        "type": "string"
      +      },
      +      "width": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "url",
      +      "markdown",
      +      "view",
      +      "color",
      +      "width",
      +      "height",
      +      "matches_view",
      +      "matches_color"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, open-world and non-destructive behavior, and the description adds substantial context beyond them: no account needed, 600 px WebP output, ready-to-paste markdown, the view/paint it is in, the enumeration of every stored view and paint with preview:false marking account-only ones. It also discloses a real constraint the annotations cannot express: free previews are only in the page's own paint and are never recolored or resized.

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?

It front-loads the strongest signal ('Free, no account needed') and packs useful facts, but several sentences are run-on and syntactically broken, notably the 'Never renders' clause, forcing re-reading. The closing instruction about telling the human it is a preview is useful but sits apart from the calling guidance. Tightening would raise this materially.

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?

For a three-parameter read tool with full schema coverage, an output schema, and rich annotations, the description covers what is missing structurally: the free-versus-account boundary, the fallback when the requested view or paint is not stored, and where the vehicle id comes from. Some return-value detail duplicates the output schema, but nothing an agent needs in order to call it correctly appears to be absent.

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 description coverage is 100%, and the per-parameter descriptions already explain the view-preference fallback, the never-recolored color behavior, and the veh_ id pattern. The description restates the same preference rules and adds only the routing hint that ids come from resolve_vehicle or search_vehicles. That is marginal added meaning over an already complete schema, so the baseline 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?

The description identifies the resource concretely: the stored 600 px WebP that a catalog vehicle's public page already shows, plus its view/paint metadata. It is a noun phrase rather than a verb+resource statement, but it still lets an agent distinguish this from an image-generation tool. It is not tautological with the title because it specifies the exact format and scope of what is returned.

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 states the condition for using this tool (a vehicle with a stored free preview) and the condition that selects the alternative (another view, paint or size, or a vehicle with nothing stored, goes to create_car_image_urls). It also names the upstream tools to source the vehicle id from. The main gap is the grammatically tangled 'Never renders: ... is an image from the account server' sentence, which slows the when-not guidance without eliminating it.

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