Skip to main content
Glama
buyusbcables

buyusbcables

list_categories

Lists all 37 catalog categories with product counts and filterable field details so you can choose valid filters before running a search.

Instructions

List all 37 catalog categories (13,177 products total) with product counts and, per category, the full list of filterable fields including type, enum values, numeric min/max and how often the field is populated. Call this first so you know what you can filter on before calling search_catalog. Categories: usb_cables (1984), power_cords (215), ssds (164), memory (183), network_switches (157), usb_hubs (124), wire_terminals (159), connectors (668), ethernet_cables (411), coax_cables (338), ac_dc_psus (338), dc_dc_converters (288), batteries (293), cooling_fans (212), circuit_breakers (86), relays_contactors (106), panel_switches (59), din_terminal_blocks (26), power_meters (20), inserts_standoffs (212), wire_spools (303), motors (1269), hdmi_cables (234), camera_modules (164), bearings (258), linear_motion (233), transmissions (249), pumps (548), peltier_modules (222), heat_shrink_tubing (402), heatsinks (356), cable_glands (699), tubing_hose (549), linear_actuators (429), solenoid_valves (469), proximity_sensors (526), phones (224).

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

Input Schema

NameRequiredDescriptionDefault
categoryNoRestrict the answer to one category.
include_fieldsNoInclude the full field schema for each category (default true when `category` is given, false otherwise).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the shape of the result: counts, per-field type/enum/min-max, and how often a field is populated. The last item is genuinely useful behavioral context an agent could not infer from the schema. It does not mention cost, size, or whether the payload is large, which is the main remaining gap for a metadata-heavy tool.

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

Conciseness2/5

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

The purpose and the call-this-first instruction are well front-loaded, but the final two-thirds is a 37-item dump of category names and counts that restates the schema enum verbatim. The counts are mildly informative but are also part of what the tool returns, so this bulk does not earn its length.

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?

There is no output schema, so the description must describe the return value, and it does so specifically enough for an agent to know it will get counts and filterable-field metadata. For a two-parameter read tool this is nearly complete; only payload size/format is left implicit.

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 coverage is 100%, including a documented default for include_fields, so the schema already does the heavy lifting and baseline 3 applies. The description implies category-scoped output but adds no syntax or semantics beyond the enum already present in the schema.

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 and resource ('List all 37 catalog categories') and specifies exactly what is returned: product counts plus per-category filterable field metadata (type, enum values, numeric min/max, population frequency). This is clearly distinguishable from search_catalog, which it names.

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?

Explicitly prescribes ordering: 'Call this first so you know what you can filter on before calling search_catalog.' That is concrete when-to-use guidance tied to a named sibling. It stops short of stating when NOT to call it (e.g., when the category and filters are already known), so it is not a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.