Skip to main content
Glama

Search components

search_components
Read-only

Search the catalog of components by text, category, subcategory, manufacturer and specification filters. Returns the total number of matches and, for each of the first results, the product id, name, manufacturer, category, key specifications and the URL of its profile.

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_components"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return (1 to 25, default 10).
queryNoWords to look for (name, manufacturer, type).
specsNoSpecification filters by specification id: a number range {"min": 10, "max": 50} (in the SI unit when the specification has one) or a text that must be contained.
categoryNoCategory id or name (see list_categories).
subcategoryNoSubcategory id or name.
manufacturerNoManufacturer id or part of its name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / default
      Added value: +10
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of results to return (1 to 25, default 10)."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, bounded search. The description adds useful behavioral context by saying it returns the total match count and the first results with specific fields, which compensates for the absence of an output schema. It stops short of disclosing sorting, match semantics, or pagination behavior beyond the limit parameter.

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?

The definition is two sentences and front-loads the search purpose before describing the return values. Every sentence carries useful information with no repetition or filler.

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 search tool with a nested specification filter and no output schema, the description covers purpose, filter dimensions, and the shape of returned results. It leaves minor gaps around result ordering and matching behavior, but the schema handles the parameter details.

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 100%, so the input schema already explains all six parameters, including the nested specs object. The description restates the filter categories but adds no syntax, format, or combination semantics beyond what the schema provides.

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 the catalog of components') and lists the filter dimensions, so an agent can tell it is a catalog search rather than a single-product lookup. It does not explicitly distinguish itself from siblings like get_product or list_categories, which keeps it below 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: use this to find components by text, category, subcategory, manufacturer, or specifications. However, the description gives no explicit when-to-use versus alternatives, no exclusions, and no guidance on combining filters.

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