Skip to main content
Glama

ELART parts

searchPartsByVehicle

Read-onlyIdempotent

Find parts for one car. make+model required, as the buyer says them (volkswagen golf 7, toyota rav4, mercedes c-class). Without an engine: needs_clarification+options (page more with listVehicleOptions). Then pass modification (preferred), the option label, or the buyer's engine words. Never invent engine_code. Optional year, category (slug or exact name, see listCategories), brand, country.

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": {
      "make": "<make>",
      "model": "<model>"
    },
    "name": "searchPartsByVehicle"
  }
}

Input Schema

NameRequiredDescriptionDefault
makeYesVehicle make as the buyer says it, e.g. volkswagen, mercedes, bmw (slugs work too).
yearNoOptional model year.
brandNoOptional brand slug, e.g. k-n-filters (not "K&N").
modelYesVehicle model as the buyer says it, e.g. golf 7, rav4, c-class, 320d (slugs work too).
countryNoOptional buyer delivery country, ISO 3166-1 alpha-2, uppercase, e.g. LT.
categoryNoOptional category: slug (brake-pads-3), slug without number (brake-pads) or exact name (Brake Pads). listCategories lists them.
engine_codeNoEngine words from the buyer (1.6 TDI), an option label from listVehicleOptions, or a real TecDoc code. Do not guess.
modificationNoTecDoc modification slug from listVehicleOptions, e.g. bmw-x4-f26-….

Output Schema

NameRequiredDescriptionDefault
makeNo
yearNo
errorNoPresent when the call failed. The HTTP status stays 200.
hintsNo
modelNo
partsNo
totalNo
statusNo
enginesNo
optionsNo
ask_userNo
categoryNo
next_toolNo
truncatedNo
engine_codeNo
next_offsetNo
parts_shownNoHow many parts are in this response.
parts_totalNoHow many parts matched before the response cap.
suggestionsNo
modificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the tool may return a clarification payload with options instead of results, and there is an explicit guardrail not to invent engine_code. It does not discuss result shape, pagination of parts, or empty-result behavior, so it sits above baseline but not at the top.

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

Conciseness4/5

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

The required inputs and the no-engine branch are front-loaded, and every clause carries information; nothing is padding. The telegraphic style ("needs_clarification+options", "page more with listVehicleOptions") is compact to the point of being slightly cryptic on first read.

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?

With an output schema present the description need not explain return values, yet it still flags the clarification-response case that would otherwise surprise an agent. For an 8-parameter search tool with full schema coverage this is essentially complete, lacking only sibling routing against the engine-code and part-number searches.

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%, so the schema already defines all eight parameters, making 3 the baseline. The description adds a precedence rule the schema lacks — pass modification first, then the option label, then raw engine words — and routes category to listCategories, which is real added meaning beyond the field docs.

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?

"Find parts for one car" gives a specific verb and resource, and the make+model requirement plus example inputs ("volkswagen golf 7", "toyota rav4") make the scope concrete. It does not explicitly contrast with searchPartsByEngineCode or searchPartsByNumber, which is the remaining gap for a 5.

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 spells out a conditional path: without an engine the tool returns needs_clarification+options, page more via listVehicleOptions, then supply modification (preferred), the option label, or the buyer's engine words. That is clear operational context, though it never states when a sibling like searchPartsByEngineCode should be preferred instead.

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