Skip to main content
Glama

Laptop Part Finder

Get parts for a model

get_model_parts
Read-only

List documented OEM replacement parts for one known laptop model. Use once the model is known. Use resolve_request instead first for a vague request. Use get_part or get_part_fits instead when you start from a part number. Use list_models instead to browse models; use get_coverage only to see which part types exist. model accepts a slug or full name; an ambiguous name (e.g. "T14") returns status ambiguous with candidates and no parts — ask the user and call again with the slug; an unknown model is an error result. type keeps only parts of that type, case-insensitive. With neither limit nor cursor, every part is returned; with either, follow next_cursor until null. With 2+ documented screens, panel_options explains how they differ — tell the user to check their current panel's part number or connector. A type with no parts returns parts [] and fit_status no_documented_fit (no document, not incompatibility).

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": {
      "model": "<model>"
    },
    "name": "get_model_parts"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoOptional part type, case-insensitive, e.g. "Battery", "Screen", "Keyboard", "SSD".
viewNoOptional. full (default) includes buy_links and source details; compact keeps part number, type, confidence, lpf_url, constraints, source_url and source_line (the short source sentence for that fit, so a summary can still be re-checked).
limitNoOptional page size, 1 to 100; default 25, or 50 with view compact.
modelYesRequired. Model slug or full name, e.g. "lenovo-thinkpad-t490" or "ThinkPad T490".
clientNoOptional: your agent or app name (letters and digits), used only for anonymous usage counts.
cursorNoOptional. The next_cursor value from the previous page, e.g. "25".

Output Schema

NameRequiredDescriptionDefault
urlNo
nameNo
noteNo
slugNo
viewNo
limitNo
partsNo
queryNo
cursorNo
statusNo
api_urlNo
licenseNo
messageNo
outcomeNoAlways present. One field to branch on for every tool: found | no_documented_fit (identified, but no OEM-documented fit; never means incompatible) | needs_clarification (ask the user; see clarifying_question/candidates) | not_found (nothing LPF covers matches). Full contract: /api/states
aue_dateNo
categoryNo
aue_as_ofNo
fit_countNo
terms_urlNo
board_nameNo
candidatesNo
fit_statusNono_documented_fit: there is no fit or no result: LPF has no OEM document for it. Never means incompatible. not_asserted: a did-you-mean suggestion; no fit claim is made.
page_stateNo
source_urlNo
attributionNo
next_cursorNo
total_partsNo
type_filterNo
absence_noteNo
aue_footnoteNo
device_classNo
manufacturerNo
release_yearNo
data_revisionNo
panel_optionsNo
verified_dateNo
aue_source_urlNo
candidate_countNo
aue_date_as_printedNo
clarifying_questionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "required": [
      -      "slug",
      -      "total_parts",
      -      "parts"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "status",
      -      "candidates"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "slug",
      +      "total_parts",
      +      "parts"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "status",
      +      "candidates"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "outcome": {
      +        "const": "not_found"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "data_revision",
      +      "message"
      +    ]
      +  }
      +]
    • changedOutput schema / properties / status / enum
      Previous value: -[
      -  "ambiguous"
      -]New value: +[
      +  "ambiguous",
      +  "not_found"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / view / description
      Previous value: -"Optional. full (default) includes buy_links and source details; compact keeps part number, type, confidence, lpf_url, constraints and source_url."New value: +"Optional. full (default) includes buy_links and source details; compact keeps part number, type, confidence, lpf_url, constraints, source_url and source_line (the short source sentence for that fit, so a summary can still be re-checked)."
    • addedOutput schema / properties / parts / items / properties / machine_types
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / parts / items / properties / source_line
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed6 schema fields changed
    • addedOutput schema / properties / device_class
      Added value: +{
      +  "enum": [
      +    "chromebook",
      +    "business-laptop",
      +    "laptop",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / fit_status / description
      Previous value: -"Present when there is no fit or no result: LPF has no OEM document for it. Never means incompatible."New value: +"no_documented_fit: there is no fit or no result: LPF has no OEM document for it. Never means incompatible. not_asserted: a did-you-mean suggestion; no fit claim is made."
    • changedOutput schema / properties / fit_status / enum
      Previous value: -[
      -  "no_documented_fit"
      -]New value: +[
      +  "no_documented_fit",
      +  "not_asserted"
      +]
    • addedOutput schema / properties / outcome
      Added value: +{
      +  "description": "Always present. One field to branch on for every tool: found | no_documented_fit (identified, but no OEM-documented fit; never means incompatible) | needs_clarification (ask the user; see clarifying_question/candidates) | not_found (nothing LPF covers matches). Full contract: /api/states",
      +  "enum": [
      +    "found",
      +    "no_documented_fit",
      +    "needs_clarification",
      +    "not_found"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / page_state
      Added value: +{
      +  "enum": [
      +    "documented",
      +    "specs_only",
      +    "thin",
      +    "name_only",
      +    "unverified",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / parts / items / properties / confidence_tier
      Added value: +{
      +  "enum": [
      +    "green",
      +    "yellow",
      +    "red"
      +  ],
      +  "type": "string"
      +}
  4. Changed5 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"next_cursor from the previous page"New value: +"Optional. The next_cursor value from the previous page, e.g. \"25\"."
    • changedInput schema / properties / limit / description
      Previous value: -"Optional page size: default 25 (50 with view compact), max 100. Without limit or cursor every part is returned."New value: +"Optional page size, 1 to 100; default 25, or 50 with view compact."
    • changedInput schema / properties / model / description
      Previous value: -"e.g. lenovo-thinkpad-t490 or \"ThinkPad T490\""New value: +"Required. Model slug or full name, e.g. \"lenovo-thinkpad-t490\" or \"ThinkPad T490\"."
    • changedInput schema / properties / type / description
      Previous value: -"Optional part type filter, e.g. Battery"New value: +"Optional part type, case-insensitive, e.g. \"Battery\", \"Screen\", \"Keyboard\", \"SSD\"."
    • changedInput schema / properties / view / description
      Previous value: -"compact = part number, type, confidence, lpf_url, constraints, source only"New value: +"Optional. full (default) includes buy_links and source details; compact keeps part number, type, confidence, lpf_url, constraints and source_url."
  5. Changed4 schema fields changed
    • addedOutput schema / properties / aue_as_of
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / aue_date_as_printed
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / aue_footnote
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / aue_source_url
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  6. Changed2 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"next_cursor from the previous page"
    • addedInput schema / properties / limit / description
      Added value: +"Optional page size: default 25 (50 with view compact), max 100. Without limit or cursor every part is returned."
  7. Changed4 schema fields changed
    • addedOutput schema / properties / parts / items / properties / checked_date
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / parts / items / properties / source_document_url
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / parts / items / properties / source_title
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / parts / items / properties / verification_level
      Added value: +{
      +  "enum": [
      +    "manufacturer_document",
      +    "reseller_listing",
      +    "unknown"
      +  ],
      +  "type": "string"
      +}
  8. Changed1 schema field changed
    • addedOutput schema / properties / parts / items / properties / display_name
      Added value: +{
      +  "description": "Short human label; not an identifier",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  9. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "slug",
      +        "total_parts",
      +        "parts"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "status",
      +        "candidates"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "absence_note": {
      +      "type": "string"
      +    },
      +    "api_url": {
      +      "type": "string"
      +    },
      +    "attribution": {
      +      "type": "string"
      +    },
      +    "aue_date": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "board_name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "candidate_count": {
      +      "type": "integer"
      +    },
      +    "candidates": {
      +      "items": {
      +        "properties": {
      +          "api_url": {
      +            "type": "string"
      +          },
      +          "manufacturer": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "slug",
      +          "name"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "category": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "clarifying_question": {
      +      "type": "string"
      +    },
      +    "cursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "data_revision": {
      +      "type": "string"
      +    },
      +    "fit_count": {
      +      "type": "integer"
      +    },
      +    "fit_status": {
      +      "description": "Present when there is no fit or no result: LPF has no OEM document for it. Never means incompatible.",
      +      "enum": [
      +        "no_documented_fit"
      +      ],
      +      "type": "string"
      +    },
      +    "license": {
      +      "type": "string"
      +    },
      +    "limit": {
      +      "type": "integer"
      +    },
      +    "manufacturer": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "next_cursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "panel_options": {
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "parts": {
      +      "items": {
      +        "properties": {
      +          "api_url": {
      +            "type": "string"
      +          },
      +          "brand": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "buy_links": {
      +            "items": {
      +              "properties": {
      +                "affiliate": {
      +                  "type": "boolean"
      +                },
      +                "kind": {
      +                  "type": "string"
      +                },
      +                "label": {
      +                  "type": "string"
      +                },
      +                "merchant": {
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "confidence": {
      +            "enum": [
      +              "oem_manual",
      +              "retailer",
      +              "unverified"
      +            ],
      +            "type": "string"
      +          },
      +          "confidence_note": {
      +            "type": "string"
      +          },
      +          "constraints": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "fit_type": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "lpf_url": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "notes": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "part_number": {
      +            "type": "string"
      +          },
      +          "source_url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          },
      +          "verification_basis": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "verified_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "part_number"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "query": {
      +      "type": "string"
      +    },
      +    "release_year": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "slug": {
      +      "type": "string"
      +    },
      +    "source_url": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "enum": [
      +        "ambiguous"
      +      ],
      +      "type": "string"
      +    },
      +    "terms_url": {
      +      "type": "string"
      +    },
      +    "total_parts": {
      +      "type": "integer"
      +    },
      +    "type_filter": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    },
      +    "verified_date": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "view": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  10. Changed1 schema field changed
    • changedInput schema / properties / client / description
      Previous value: -"Optional: your agent or app name (letters and digits), used only to attribute outbound affiliate links."New value: +"Optional: your agent or app name (letters and digits), used only for anonymous usage counts."
  11. Changed4 schema fields changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / type
      Added value: +{
      +  "description": "Optional part type filter, e.g. Battery",
      +  "type": "string"
      +}
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "compact = part number, type, confidence, lpf_url, constraints, source only",
      +  "enum": [
      +    "full",
      +    "compact"
      +  ],
      +  "type": "string"
      +}
  12. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare a safe read (readOnlyHint true, destructiveHint false, openWorldHint false), and the description still adds substantive behavior: ambiguous names return status ambiguous with candidates and no parts, unknown models are an error result, and pagination only applies when limit or cursor is supplied. It also explains the empty-result contract ('parts [] and fit_status no_documented_fit (no document, not incompatibility)'), which prevents a serious misreading.

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 purpose then routing, and nearly every clause carries operational information. It is dense and semicolon-heavy with several sibling call-outs packed into single sentences, which makes it slightly harder to scan, but there is little genuinely wasted text.

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?

Despite six parameters and a real output schema, the description covers everything an agent needs: routing, ambiguity recovery, pagination loop, filter semantics, the panel_options edge case with user-facing advice, and the empty-result interpretation. No material gap remains for correct invocation or interpretation.

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 the baseline is 3, but the description adds real meaning beyond the schema for model (slug or full name, ambiguity resolution path), type (case-insensitive filter), and limit/cursor (pagination only kicks in when one is supplied; follow next_cursor until null). The view parameter's behavioral effect is left entirely to the schema, keeping it short of a 5.

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 and scope: 'List documented OEM replacement parts for one known laptop model.' It also explicitly marks the boundary against get_part/get_part_fits (part-number entry) and list_models (browsing), so an agent can pick it without opening another schema.

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?

Gives explicit when-to-use ('Use once the model is known'), when-to-use-something-else (resolve_request for vague requests, get_part/get_part_fits from a part number, list_models to browse, get_coverage for part types), plus concrete recovery guidance when the model name is ambiguous.

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