Skip to main content
Glama

ELART parts

checkFitment

Read-onlyIdempotent

Before addToCart: check whether a part is listed for the customer vehicle modification. Returns fits or not_listed. Pass exactly one of part_id (integer) or part_number (string) — not both. make/model/modification are required strings (no top-level oneOf: Anthropic/OpenAI reject oneOf at the root).

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>",
      "modification": "<modification>"
    },
    "name": "checkFitment"
  }
}

Input Schema

NameRequiredDescriptionDefault
makeYesVehicle make as the buyer says it, for example volkswagen.
brandNoOptional brand name/slug when part_number matches several catalogue rows (e.g. japko).
modelYesVehicle model as the buyer says it, for example golf 7.
part_idNoInternal product id. Pass this or part_number, not both.
part_numberNoManufacturer part number. Pass this or part_id, not both.
modificationYesTecDoc modification slug.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. The HTTP status stays 200.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 the result vocabulary (fits / not_listed) but says nothing about what a not_listed outcome implies (no fitment data vs. confirmed non-fit) or how the optional brand affects disambiguation, which is the behaviorally interesting part of this tool.

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?

Front-loaded correctly: workflow trigger, then the return values, then the parameter constraint. The trailing parenthetical justifying the absence of a root-level oneOf describes schema-authoring rationale rather than anything an agent can act on, and the mutual-exclusion rule is stated twice, so it is not perfectly lean.

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?

An output schema exists, so the description does not need to explain return values, and all three required vehicle parameters are covered by rich schema descriptions. What remains thin is the brand parameter's disambiguation role and guidance on what an agent should do after a not_listed verdict — minor, but the only real gaps for a six-parameter lookup tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so per-field meaning is already handled and the baseline is 3. The description earns the extra point by lifting the cross-field constraint (exactly one of part_id or part_number, mutually exclusive) to the top level, where it is more visible than the per-property text that merely repeats it.

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?

States a specific verb+resource (check whether a part is listed for a given vehicle modification) and anchors it in a workflow step ("Before addToCart"), which separates it from the sibling that actually mutates the cart. The two possible verdicts (fits / not_listed) are named, so an agent knows exactly what decision it gets back.

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?

"Before addToCart" is an explicit when-to-use trigger tied to a real workflow, which is more than most definitions offer. It stops short of a 5 because there are no exclusions or named alternatives (e.g. searchPartsByVehicle for browsing rather than verifying a specific part), leaving the agent to infer when this is not the right call.

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