Skip to main content
Glama

search_inventory

Searches a dealership's vehicle inventory. Filters by stock type (new/used/certified), make, model, year range, price range, body type, and fuel type. Optional natural-language query for full-text search. Returns up to 25 matching vehicles. Only available for automotive clients.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
makeNoVehicle make.
limitNoMax results (1-25, default 10).
modelNoVehicle model.
queryNoNatural-language search (e.g. "red SUV").
year_maxNo
year_minNo
body_typeNo
fuel_typeNo
price_maxNoMaximum price in dollars.
price_minNoMinimum price in dollars.
stock_typeNoFilter by stock type.
client_slugYesUnique slug identifying the dealership.
featured_onlyNoIf true, only featured vehicles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the result limit (up to 25), the optional natural-language query, and the automotive-client restriction. However, it does not explain how filters combine (e.g., AND semantics), the response structure, or any authentication requirements, leaving gaps in behavioral transparency.

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 concise, with five short sentences delivering purpose, filters, special query behavior, result limit, and availability. It is front-loaded with the main action and wastes no words, making it effective and easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 13 parameters and no output schema, the description covers the core search capabilities and key constraints, but omits essential context such as the shape of return values, filter combination semantics, and any preconditions like authentication or authorization. This leaves the agent somewhat under-informed for complex decision-making.

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 covers 69% of parameters with descriptions, leaving year_min, year_max, body_type, and fuel_type undocumented. The description adds context by grouping these as 'year range', 'body type', and 'fuel type', which helps agent understand their purpose. It does not, however, provide deeper semantics like range inclusivity or how the natural-language query interacts with structured filters.

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 description states a specific action ('Searches') on a clear resource ('a dealership's vehicle inventory') and enumerates the filter dimensions. This distinguishes it from sibling tools like get_vehicle_details (which likely fetches one vehicle) and search_clients/search_products, which target different entities.

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 its use for inventory search but does not explicitly explain when to choose it over get_vehicle_details or other sibling search tools. The only usage restriction mentioned is 'Only available for automotive clients,' which is a constraint but not a comparative guideline.

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.