Skip to main content
Glama

ELART parts

searchPartsByEngineCode

Read-onlyIdempotent

Search catalog parts by engine code. The engine code is required, must not be empty and must not contain the wildcard characters * and %; an optional category (taxon slug) scopes the result to one category. Pass the buyer's delivery country to get the final price incl. VAT.

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": {
      "engine_code": "<engine_code>"
    },
    "name": "searchPartsByEngineCode"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoPaging offset; pass next_offset from a previous truncated response.
countryNoOptional buyer delivery country, ISO 3166-1 alpha-2, uppercase, e.g. LT. Pass it to get the final price incl. VAT.
categoryNoOptional category (taxon) slug, e.g. brake-discs.
engine_codeYesTecDoc engine code, e.g. M54B25. At least 3 letters/digits after stripping invisible chars; no SQL wildcards * % _.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. The HTTP status stays 200.
partsNo
parts_shownNoHow many parts are in this response.
parts_totalNoHow many parts matched before the response cap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, and the description adds value on top: input validation rules, the fact that category narrows rather than broadens results, and that country drives final price incl. VAT. Pagination behavior is only implied through the schema's offset parameter rather than explained here.

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?

Three tight sentences with the required-key constraint front-loaded, followed by optional scoping and pricing behavior in descending importance. Minor redundancy with "must not be empty" and the wildcard clause, which the schema already enforces.

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?

A read-only search with full schema coverage, an output schema, and explicit annotations needs modest additional prose, and the description covers validation, scoping, and pricing intent. Only the result-set size/truncation story is left to the schema.

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 coverage is 100%, so the baseline is 3; the description largely restates the schema's constraints (non-empty, no wildcards) and the meaning of country. It also slightly misstates the validation by listing only * and % while the schema also forbids _, so it adds no reliable semantics beyond the schema.

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?

States a specific verb and resource ("Search catalog parts") and names the discriminating key (engine code), which implicitly separates it from searchPartsByNumber and searchPartsByVehicle. It stops short of explicitly contrasting with those siblings, but an agent can select it from the description alone.

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?

Conveys prerequisites (engine code required, non-empty, no wildcards) and the conditional use of country to obtain VAT-inclusive pricing, so usage is clearly implied. However, it never states when to prefer searchPartsByNumber or searchPartsByVehicle instead, and gives no exclusion guidance for the sibling searchers.

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