Skip to main content
Glama

tme_search

Read-only

Search the TME catalogue by MPN, value, or keywords to find parts for BOM lookup and quoting. Filter by stock and sort results to confirm candidates before pricing.

Instructions

Search the TME catalogue (phrase 2-40 chars: MPN, value, keywords).

Args: sort: SYMBOL, ACCURACY, ORIGINAL_SYMBOL, PRICE_FIRST_QUANTITY, PRICE_LAST_QUANTITY, ACCURACY_IN_STOCK_FIRST or AVAILABLE_IN_STOCK_FIRST. For passives, search e.g. "100k 0603 1%" with in_stock_only=True, then confirm candidates with tme_parameters.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNo
limitNo
phraseYes
category_idNo
in_stock_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds the input-length constraint and the confirmation workflow via tme_parameters. It says nothing about result counts, pagination, or what a hit contains, which matters for a catalogue search.

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?

Purpose is front-loaded in the opening line, then schema-relevant details follow. The sort-symbol list is bulky but not padding since the schema is undocumented; the passive-search tip is short and actionable.

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?

For a six-parameter, no-output-schema search tool, the definition explains the query format, sort options, stock filtering, and a follow-up step, which covers the critical call path. Missing are pagination semantics for page/limit, category scoping, and any indication of what the results look like.

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 0%, so the description has to carry the load: it enumerates the seven valid `sort` symbols and demonstrates `in_stock_only` and the `phrase` format, which is real added meaning. But `page`, `limit`, and `category_id` get no explanation anywhere, leaving half the parameters opaque.

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 leads with a specific verb and resource ('Search the TME catalogue') and constrains the query input ('phrase 2-40 chars: MPN, value, keywords'), which tells an agent exactly what to put in. It does not, however, distinguish itself from siblings like tme_lookup_mpns or tme_products, so an agent can't tell which search-ish tool to pick from the description alone.

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 a concrete worked pattern for a common case ('For passives, search e.g. "100k 0603 1%" with in_stock_only=True, then confirm candidates with tme_parameters'), which is genuine when-to-use and follow-up routing. It stops short of stating when NOT to use it or when a sibling such as tme_lookup_mpns is preferred.

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