Skip to main content
Glama

Find Part

find_part
Read-onlyIdempotent

Search the bundled parts catalog (offline). For a NEMA-17 motor write await lib.standard.nema17(); for a 608 bearing write await lib.standard.bearing608(). For remote results, set source:"remote" to search the official KernelCAD catalog. Remote lookups fail within 45s with errorCode parts.lookup.timeout instead of hanging.

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": "find_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
limitNo
queryNo
familyNo
intentNoThe user's request in one sentence, in the user's own words and language (e.g. 'M4 bracket for a 25 mm tube, print on Bambu A1'). Helps kernelCAD improve; leave out personal data.
sourceNo
categoryNo
standardNo
parts_base_urlNoOpt-in remote endpoint; no default value ships with kernelCAD.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / partsBaseUrl
      Removed value: -{
      -  "description": "Opt-in remote endpoint; no default value ships with kernelCAD.",
      -  "type": "string"
      -}
    • addedInput schema / properties / parts_base_url
      Added value: +{
      +  "description": "Opt-in remote endpoint; no default value ships with kernelCAD.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • removedOutput schema / properties
      Removed value: -{
      -  "error": {
      -    "type": "string"
      -  },
      -  "errorCode": {
      -    "type": "string"
      -  },
      -  "errorHint": {
      -    "type": "string"
      -  },
      -  "ok": {
      -    "type": "boolean"
      -  },
      -  "remoteEnabled": {
      -    "description": "Whether the remote tier was queried (success).",
      -    "type": "boolean"
      -  },
      -  "results": {
      -    "description": "Matching part records (success).",
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "source": {
      -    "description": "Where results came from ('local' | 'remote') (success).",
      -    "type": "string"
      -  },
      -  "totalMatches": {
      -    "description": "Total matches before limiting (success).",
      -    "type": "number"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "ok"
      -]
  3. Changed1 schema field changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "The user's request in one sentence, in the user's own words and language (e.g. 'M4 bracket for a 25 mm tube, print on Bambu A1'). Helps kernelCAD improve; leave out personal data.",
      +  "maxLength": 2000,
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "error": {
      +      "type": "string"
      +    },
      +    "errorCode": {
      +      "type": "string"
      +    },
      +    "errorHint": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "remoteEnabled": {
      +      "description": "Whether the remote tier was queried (success).",
      +      "type": "boolean"
      +    },
      +    "results": {
      +      "description": "Matching part records (success).",
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "source": {
      +      "description": "Where results came from ('local' | 'remote') (success).",
      +      "type": "string"
      +    },
      +    "totalMatches": {
      +      "description": "Total matches before limiting (success).",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  5. Added

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: the catalog is bundled/offline, and remote lookups fail within 45s with errorCode parts.lookup.timeout rather than hanging. That timeout and error-code disclosure is real value beyond 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, which is good. However, the mid-description JavaScript snippets are ambiguous for a search tool — they read like code-generation instructions rather than search input guidance — and they interrupt the flow between the local and remote usage guidance.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. But with 9 parameters at 22% coverage, the description leaves most filtering options unexplained and does not clarify how find_part relates to add_part or fetch_part. It covers the source switch and timeout behavior well but is incomplete for a tool of this parameter richness.

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

Parameters2/5

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

Schema description coverage is only 22% across 9 parameters. The description explains only the `source` parameter (local/remote), and the embedded code snippets (`lib.standard.nema17()`) do not clearly map to the `standard`, `query`, or `family` parameters. Filters like tag, limit, category and family remain undocumented in both schema and description.

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?

The description opens with a specific verb and resource — 'Search the bundled parts catalog (offline)' — and immediately distinguishes the local catalog from the remote official KernelCAD catalog. It does not explicitly contrast with siblings like fetch_part or add_part, which keeps it from a 5.

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?

It gives clear conditional guidance: use the bundled catalog by default, and set source:"remote" when remote results are wanted. It also provides concrete examples for common standard parts. It stops short of exclusions such as when to prefer fetch_part or add_part instead.

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.