Skip to main content
Glama

ELART parts

getPartAvailability

Read-onlyIdempotent

Look up availability of one exact catalogue part. Pass exactly one of part_id or part_number (server enforces). part_number must match exactly — substitutes via searchPartsByNumber + part_id. Optional brand when several brands share a number. Pass country for VAT-inclusive price.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "getPartAvailability"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNoOptional brand when the number exists on several brands.
countryNoOptional buyer delivery country, ISO 3166-1 alpha-2, uppercase, e.g. LT. Pass it to get the final price incl. VAT.
part_idNoInternal product id.
part_numberNoExact manufacturer part number (not a TecDoc cross).

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. The HTTP status stays 200.
priceNoConsumer price including VAT for vat_country, the same figure the product page shows that visitor. Null when there is no priced in-stock variant.
currencyNoISO 4217 code of the shop channel's base currency (EUR), or null when there is no price.
price_netNoCatalog price before VAT. Present together with vat_country.
price_noteNoPresent when the caller did not pass country and vat_country is null. The price then excludes VAT.
vat_countryNoISO country whose VAT was added to price. Null when no rate applies.
stock_statusNo
warehouse_lead_time_daysNoBusiness days until the part leaves the warehouse (the dispatch window shown on the product page); null when the part is out of stock.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent safety, and the description adds genuinely useful behavior: the server enforces the one-of rule, part_number must match exactly (no wildcards or cross-references), and country changes the returned price to VAT-inclusive. It stops short of describing what 'availability' contains (stock vs. lead time) or behavior when nothing is found, but this is a meaningful addition over the annotations.

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 with the purpose, then the constraint, then the two optional-parameter hints — no filler sentences. The telegraphic style ('substitutes via searchPartsByNumber + part_id') is dense enough to require a second read, costing some clarity.

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?

Output schema exists, so return values needn't be explained, and annotations carry the safety profile. For a four-parameter, read-only lookup, the description covers the calling contract, the exclusivity rule, and the pricing nuance; nothing essential to a correct call is missing.

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 all four parameters are already documented, yet the description adds the cross-parameter rule that the schema does not encode: exactly one of part_id/part_number, and brand only matters when a number is shared across brands. The exact-match caveat for part_number adds real disambiguation value beyond the schema text.

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: 'Look up availability of one exact catalogue part', with the scope narrowed to a single exact part rather than a search. It also names the sibling route (searchPartsByNumber) that an agent should use when the number is not exact, so it is distinguishable from the search tools.

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?

Explicitly states the exclusivity rule ('pass exactly one of part_id or part_number') and the exact-match precondition, plus the optional brand/country conditions that select the right result. It points to searchPartsByNumber for substitutes, though that routing is compressed into a shorthand phrase rather than a clear 'use X instead when Y' instruction.

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