Skip to main content
Glama

Get parts for a bike

get_parts
Read-onlyIdempotent

Every part Unstocked lists for a bike, optionally for one model year or category. Each part has an id (for make_build_link), category, brand, tier, typical price, fitment note, flags (track-only, wants-tune) and whether it is listed for the model year. Also returns stock equipment and things to know before buying.

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": {
      "bike": "<bike>"
    },
    "name": "get_parts"
  }
}

Input Schema

NameRequiredDescriptionDefault
bikeYesBike slug or name, e.g. "yamaha-r7".
yearNoModel year. With it, parts not listed for that year are left out.
queryNoWords in the part or brand name, e.g. "akrapovic" or "slip-on".
categoryNoCategory slug or word, e.g. "exhaust", "suspension", "brakes", "tires", "rearsets".

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 cover read-only, idempotent, closed-world and non-destructive behavior, so the description's job is lighter. It still adds real context: the full shape of a returned part (id, category, brand, tier, price, fitment note, flags) and the filtering rule that a year excludes parts not listed for it, plus that stock equipment is included.

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?

Two tight sentences, scope first and return shape second, with no filler. The closing phrase "things to know before buying" is vague, but overall the wording earns its space.

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 no output schema, describing the returned fields and the inclusion of stock equipment is exactly the missing context an agent needs. A read-only listing tool needs little more, though the resource shape (array vs object) is not stated.

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%, with each parameter documented including examples, so the baseline is 3. The description only restates the year/category optionality and says nothing extra about the query matching semantics beyond what the schema already explains.

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?

"Every part Unstocked lists for a bike" gives a specific verb and resource, and the optional year/category scoping is stated up front. It does not explicitly distinguish itself from get_build or list_bikes, though the parenthetical "id (for make_build_link)" shows awareness of the sibling workflow.

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?

Usage is implied rather than stated: an agent can infer it should call this to enumerate parts and pass the returned id to make_build_link. There is no explicit "use this instead of X" guidance or statement of preconditions versus get_build/list_bikes.

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