vpic_variable_values

Pack: nhtsa · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/vpic_variable_values for the schema, then POST the same URL with its arguments for the data.

Value list for one vPIC decoder variable.

Tool description as the model sees it

The allowed values (id and name) for one NHTSA vPIC decoder variable, e.g. variable ‘Fuel Type - Primary’ lists Diesel, Electric, Gasoline and so on. Pass the variable name or id from vpic_variable_list. Free-text variables have no list and return found:false.

Parameters

NameTypeRequiredDescription
variablestringyesVariable name or numeric id (e.g. “Fuel Type - Primary”).
limitnumbernoMax rows to return. Default 500, max 2000.

Example call

Arguments

{
  "variable": "Fuel Type - Primary"
}

curl

curl -X POST https://gateway.pipeworx.io/nhtsa/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"vpic_variable_values","arguments":{"variable":"Fuel Type - Primary"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('vpic_variable_values', {
  "variable": "Fuel Type - Primary"
});

Response shape

Always returns: found, count, returned, results, source

FieldTypeDescription
foundbooleanFalse when vPIC holds no matching record (see reason and message); true when results is non-empty
reasonstringPresent when found is false: no_match
messagestringPresent when found is false: what was looked up and what to try next
countnumbervPIC’s own total for the query (may exceed returned)
returnednumberRows in results
truncatedbooleanTrue when limit cut results short of the rows vPIC sent
search_criteriastring | nullHow vPIC echoed the query
upstream_messagestring | nullvPIC’s own status message
resultsarrayResult rows
sourcestringPublisher and dataset
licensestringLicence of the data
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "False when vPIC holds no matching record (see reason and message); true when results is non-empty"
    },
    "reason": {
      "type": "string",
      "description": "Present when found is false: no_match"
    },
    "message": {
      "type": "string",
      "description": "Present when found is false: what was looked up and what to try next"
    },
    "count": {
      "type": "number",
      "description": "vPIC's own total for the query (may exceed returned)"
    },
    "returned": {
      "type": "number",
      "description": "Rows in results"
    },
    "truncated": {
      "type": "boolean",
      "description": "True when limit cut results short of the rows vPIC sent"
    },
    "search_criteria": {
      "type": [
        "string",
        "null"
      ],
      "description": "How vPIC echoed the query"
    },
    "upstream_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "vPIC's own status message"
    },
    "results": {
      "type": "array",
      "description": "Result rows",
      "items": {
        "type": "object",
        "properties": {
          "variable": {
            "type": [
              "string",
              "null"
            ],
            "description": "Variable"
          },
          "value_id": {
            "type": [
              "number",
              "null"
            ],
            "description": "Value id"
          },
          "value": {
            "type": [
              "string",
              "null"
            ],
            "description": "Value"
          }
        }
      }
    },
    "source": {
      "type": "string",
      "description": "Publisher and dataset"
    },
    "license": {
      "type": "string",
      "description": "Licence of the data"
    }
  },
  "required": [
    "found",
    "count",
    "returned",
    "results",
    "source"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the nhtsa pack
{
  "mcpServers": {
    "nhtsa": {
      "url": "https://gateway.pipeworx.io/nhtsa/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 2, 2026