Skip to main content
Glama

Search the parts catalog

search_parts
Read-onlyIdempotent

Search the Maglev parts catalog (compute modules, motors and drivers, robot actuators, drone parts). Match on part number, brand, or spec words such as "48V", "Orin NX", "harmonic". Filter by where it is made and NDAA status.

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

Input Schema

NameRequiredDescriptionDefault
lensNoOrigin filter: any, cn (China incl. HK), not-cn, us, usmca (US/CA/MX), allied
limitNo
queryNoSearch words; empty returns everything in scope
offsetNoResults to skip. To page, pass the next_offset of the previous answer with the same other arguments.
categoryNocompute-modules | motors | actuators | drone
ndaa_onlyNoOnly NDAA-compliant or Blue UAS listed parts

Output Schema

NameRequiredDescriptionDefault
countNo
errorNoSet when the tool could not answer; the other fields are then absent.
totalNo
offsetNo
resultsNo
next_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / category / maxLength
      Added value: +120
    • changedInput schema / properties / limit / maximum
      Previous value: -200New value: +50
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Results to skip. To page, pass the next_offset of the previous answer with the same other arguments.",
      +  "maximum": 100000,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / query / maxLength
      Added value: +200
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "type": "integer"
      +    },
      +    "error": {
      +      "description": "Set when the tool could not answer; the other fields are then absent.",
      +      "type": "string"
      +    },
      +    "next_offset": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "offset": {
      +      "type": "integer"
      +    },
      +    "results": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total": {
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds genuine behavioral context the annotations cannot: keyword matching runs across part number, brand and spec words, and results can be narrowed by manufacturing origin and NDAA/Blue UAS listing. It does not discuss result ordering, result count behavior, or how loosely the keywords are matched, which would be the next useful layer.

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?

Three compact sentences, front-loaded with the resource and scope before the matching rules and filters. The parenthetical domain list earns its space by scoping what a search will and will not cover. Minimal filler, though the closing sentence on filters could be tightened since lens and ndaa_only are already self-documenting in the schema.

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?

For a six-parameter, zero-required, read-only search tool with an output schema and full annotation coverage, the description supplies what structured fields cannot: catalog scope, matching semantics, and the filter axes. Paging is described in the offset parameter itself, so its absence here is acceptable. Only the lack of sibling routing guidance leaves a small completeness gap.

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 description coverage is 83%, so the schema already documents every parameter including the lens enum values, category options, defaults and limits — baseline is 3. The description does contribute concrete query-term examples ('48V', 'Orin NX', 'harmonic') that clarify what kind of keyword input is expected, and it confirms the origin and NDAA filters at a level slightly beyond the field names, but it adds no syntax or interaction detail for limit/offset paging.

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?

Names a specific verb (Search) and resource (the Maglev parts catalog), then scopes it with concrete domain examples — compute modules, motors/drivers, actuators, drone parts. It also states what fields are matched (part number, brand, spec words) and what filters exist (origin, NDAA). It stops short of distinguishing itself from sibling lookups like get_part or find_equivalents, which is the only thing keeping 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 Guidelines3/5

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

Usage is implied well: keyword/spec-word queries plus origin and NDAA filters. But there is no explicit when-to-use vs. when-not guidance, and it never says to use get_part for exact part-number retrieval or find_equivalents for substitution search, so an agent must infer the boundary from sibling names alone.

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