Skip to main content
Glama

Cars

cars
Read-onlyIdempotent

API Ninjas cars: vehicle specifications by make, model, year, or fuel type. Returns a list of { make, model, year, fuel_type, cylinders, transmission, drive, city_mpg, highway_mpg, class }. Example: cars({ make: "toyota", model: "camry", year: 2020 }).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
makeNoVehicle manufacturer, e.g. 'toyota', 'ford'
yearNoModel year, e.g. 2020
limitNoMax results to return (default 5, max 50)
modelNoVehicle model, e.g. 'camry', 'mustang'
_apiKeyNoOptional — your own API Ninjas key for higher limits; omit to use the shared Pipeworx key.
fuel_typeNoFuel type, e.g. 'gas', 'diesel', 'electricity'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context by specifying the return shape (a list of ten named fields), which is essential because no output schema exists. The external 'API Ninjas' reference hints at an external service, but rate limits and default result counts are left to the schema's limit and _apiKey descriptions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences and an example, with no filler. It front-loads the resource and follows with return fields and an illustrative call, making every word informative.

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 read-only lookup with no output schema, the description supplies the essential return fields and a working example, so an agent can form correct invocations. It leaves open whether at least one filter is required (schema says all optional), which is a minor ambiguity. Overall, the output contract is sufficiently clear for this level of complexity.

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?

The schema already documents all six parameters with 100% coverage, so the baseline applies. The description adds contextual meaning by framing make/model/year/fuel_type as filter criteria and showing an example call, but it does not elaborate on limit or _apiKey semantics beyond the schema. No additional parameter insight is provided.

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 clearly identifies the tool as a vehicle-specification lookup, naming the resource ('cars') and the query dimensions (make, model, year, fuel type), and enumerates the returned fields. This distinguishes it from sibling API Ninjas tools like animals or exercises by domain, even though it does not name an alternative. A minor weakness is the lack of an explicit action verb such as 'search' or 'lookup,' but 'Returns a list' conveys the behavior.

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 implies the tool should be used when vehicle specifications are needed, and the example shows a realistic invocation with make/model/year. However, it does not explicitly state when not to use it or name alternatives among the API Ninjas siblings, nor any conditions such as requiring at least one filter. Guidance is therefore 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.