Skip to main content
Glama

search_parts

Read-only

Search visible part names and keyword tags by case-insensitive literal substring. Exact names rank first. Returns compact IDs, keywords, template/class/style metadata and required companion part IDs, without SVG. Filter by templateId to avoid incompatible results.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
limitNo
templateIdNo
partClassIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description goes well beyond them: it discloses matching semantics (literal substring, case-insensitive — not regex or fuzzy), result ordering (exact names first), and the shape of the payload (compact IDs, metadata, companion part IDs, explicitly no SVG). It does not mention result truncation or how the limit behaves when more matches exist.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Four short sentences, front-loaded with what is searched and how matching works, then ranked behavior, then return shape, then the one filtering tip. No filler or restatement of the tool name.

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?

The description compensates for the absence of an output schema by summarizing the returned fields and noting SVG is omitted, which is genuinely useful. However, with four parameters at 0% schema coverage it leaves half the inputs undocumented, and it says nothing about how many results come back or how the limit interacts with large match sets.

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 0%, so the description must carry parameter meaning — and it does for two of four: 'name' gets substring/case-insensitivity semantics and 'templateId' gets a compatibility rationale. The 'limit' and 'partClassId' parameters are left entirely unexplained, and the fact that partClassId shares the templateId definition is not surfaced.

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 states a specific verb and resource — 'Search visible part names and keyword tags' — plus the exact matching semantics ('case-insensitive literal substring') and ranking rule. It does not explicitly distinguish itself from the sibling list_parts, so an agent must infer that search is for substrings while list is for enumeration.

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 only implied: you call it when you have a name fragment to match. The one piece of explicit guidance ('Filter by templateId to avoid incompatible results') is about parameter usage, not about when to choose this tool over list_parts or search_sprites. No exclusions or prerequisites are stated.

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