Skip to main content
Glama
JOY Automart MCP Server

JOY Automart MCP Server

Official

Get part details

get_part
Read-onlyIdempotent

Retrieve one spare part's public price, availability, and fitment restrictions using its exact catalogue part_id from search_parts to verify sellability and support enquiries.

Instructions

Read one spare part's public price, availability and fitment restrictions; search_parts supplies its ID.

  • Copy the selected part_id unchanged. An OEM match can identify several catalogue entries: keep each entry's price, stock and fitment evidence together instead of borrowing facts from another matching entry.

  • A found item can remain unsellable. Use its minimum quantity and required fitment information when discussing an enquiry through prepare_part_handoff; unknown price or stock is not zero.

  • Anonymous fresh lookup; no supply is reserved or fitment certified. On a missing-ID error, search again rather than declaring the OEM part unavailable everywhere.

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": {
      "part_id": "<part_id>"
    },
    "name": "get_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
part_idYesExact catalogue part_id copied from search_parts, e.g. BRK-AXIO-01. This is JOY's catalogue identifier, not an OEM part number or a product URL.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.2
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "classification": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "classification_status": {
      +          "type": "string"
      +        },
      +        "installation_type": {
      +          "type": "string"
      +        },
      +        "product_type": {
      +          "type": "string"
      +        },
      +        "universal_accessory": {
      +          "type": "boolean"
      +        },
      +        "universal_constraints_verified": {
      +          "type": "boolean"
      +        },
      +        "universal_search_eligible": {
      +          "type": "boolean"
      +        },
      +        "vehicle_specific": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [],
      +      "type": "object"
      +    },
      +    "constraints": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "constraint_type": {
      +          "type": "string"
      +        },
      +        "required_fields": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "maxItems": 16,
      +          "type": "array"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "verified": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [],
      +      "type": "object"
      +    },
      +    "error": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "error": {
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ],
      +      "type": "object"
      +    },
      +    "fitment": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "chassis_code": {
      +          "type": "string"
      +        },
      +        "engine": {
      +          "type": "string"
      +        },
      +        "engine_codes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "maxItems": 16,
      +          "type": "array"
      +        },
      +        "fitment_confidence": {
      +          "type": "string"
      +        },
      +        "jdm_chassis_codes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "maxItems": 16,
      +          "type": "array"
      +        },
      +        "make": {
      +          "type": "string"
      +        },
      +        "model": {
      +          "type": "string"
      +        },
      +        "year_from": {
      +          "type": "integer"
      +        },
      +        "year_to": {
      +          "type": "integer"
      +        },
      +        "years": {
      +          "items": {
      +            "type": "integer"
      +          },
      +          "maxItems": 200,
      +          "type": "array"
      +        }
      +      },
      +      "required": [],
      +      "type": "object"
      +    },
      +    "hardware": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "application_note": {
      +          "type": "string"
      +        },
      +        "fitment_policy": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [],
      +      "type": "object"
      +    }
      +  },
      +  "oneOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "availability": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "bulk_pricing": {
      +          "description": "Public storefront bulk-pricing metadata; not an accepted or locked quote.",
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "category": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "compatibility_constraints": {
      +          "anyOf": [
      +            {
      +              "$ref": "#/$defs/constraints"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "currency": {
      +          "const": "BDT",
      +          "type": "string"
      +        },
      +        "description": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "fitment_candidates": {
      +          "items": {
      +            "$ref": "#/$defs/fitment"
      +          },
      +          "maxItems": 8,
      +          "type": "array"
      +        },
      +        "fitment_notice": {
      +          "type": "string"
      +        },
      +        "hardware_specifications": {
      +          "anyOf": [
      +            {
      +              "$ref": "#/$defs/hardware"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "minimum_order_quantity": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "oem_number": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "oem_reference_status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "part_id": {
      +          "maxLength": 120,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "price_bdt": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "price_label": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "product_characteristics": {
      +          "anyOf": [
      +            {
      +              "$ref": "#/$defs/classification"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "sellable": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "stock_on_hand": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "suppression_reason": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "verified_offer_count": {
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "part_id",
      +        "name",
      +        "oem_number",
      +        "category",
      +        "price_bdt",
      +        "price_label",
      +        "availability",
      +        "stock_on_hand",
      +        "minimum_order_quantity",
      +        "sellable",
      +        "fitment_candidates",
      +        "url",
      +        "oem_reference_status",
      +        "suppression_reason",
      +        "compatibility_constraints",
      +        "hardware_specifications",
      +        "product_characteristics",
      +        "description",
      +        "verified_offer_count",
      +        "bulk_pricing",
      +        "currency",
      +        "fitment_notice"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "$ref": "#/$defs/error"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv1.0.1
    • addedInput schema / properties / part_id / description
      Added value: +"Exact catalogue part_id copied from search_parts, e.g. BRK-AXIO-01. This is JOY's catalogue identifier, not an OEM part number or a product URL."
  3. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, but the description adds genuinely new behavior: it is an anonymous fresh lookup with no supply reserved and no fitment certified, unknown price or stock is explicitly not zero, and a found item can still be unsellable. These are exactly the caveats an agent needs before relaying data to a user.

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 lead sentence front-loads the purpose and the three bullets cover distinct concerns (ID fidelity across multiple OEM matches, unsellable items, error recovery) with no duplication. Some clauses are dense and could be tightened, but every sentence carries operational information.

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

Completeness5/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 needn't explain return shape, and it still covers the ambiguous cases: multiple catalogue entries per OEM match, entries with no price/stock, and missing-ID failure. Nothing an agent needs to call this correctly or interpret its result is missing.

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% and the parameter description already explains that part_id is JOY's catalogue identifier copied from search_parts, not an OEM number or URL. The description's 'copy the selected part_id unchanged' is essentially a restatement of that schema text, so the baseline of 3 is appropriate.

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 and resource (read one spare part) plus the exact fields returned (public price, availability, fitment restrictions), and distinguishes itself from the sibling search_parts by noting that search supplies the ID. An agent can tell instantly that this is the single-item lookup after a search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly sequences the workflow (search_parts supplies the ID, then get_part reads the entry) and names the downstream alternative for discussion (prepare_part_handoff). It also gives an error-path rule: on a missing-ID error, search again rather than declaring the OEM part unavailable — clear when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.