Skip to main content
Glama

Ürün ara

search_products
Read-onlyIdempotent

Searches the E-Komponent catalog by part number or keyword and returns matching products with stock status, TL and foreign-currency prices, brand, MPN, and category details.

Instructions

E-Komponent (e-komponent.com) kataloğunda parça kodu veya anahtar kelimeyle arama yapar (ör. 'STM32F103', 'AMS1117', 'LM317', '10uF 0805'). KDV dahil TL fiyatı, ham döviz +KDV fiyatı, marka, MPN ve kategori dağılımını döndürür.

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

Input Schema

NameRequiredDescriptionDefault
pageNoSayfa numarası (varsayılan 1).
sortNoSıralama ölçütü.
queryYesÜretici parça kodu (MPN), kısmi kod veya anahtar kelime.
categoryNoOpsiyonel kategori slug, ID veya adı (search_categories / browse_categories ile bulunabilir).
in_stockNoYalnızca stoktaki ürünleri getir.
page_sizeNoDöndürülecek maksimum ürün sayısı (varsayılan sayfadaki tümü).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 (readOnly, idempotent, non-destructive, openWorld), so the bar is lower; the description adds genuinely new context by naming the external site it queries and enumerating the returned fields (KDV-inclusive TL price, raw currency +VAT, brand, MPN, category breakdown). That return-shape information is valuable precisely because no output schema exists. It says nothing about result caps, rate limits, or empty-result behavior, which keeps it short of a 5.

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?

Two sentences, front-loaded with what the tool searches, with the return contents following. The parenthetical examples earn their space by disambiguating query formats, though the full URL in parentheses is mildly redundant with the site name.

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 read-only search tool with full schema coverage and no output schema, the description supplies both the searchable field and the return contents, which is what an agent needs to call and interpret it. The remaining gap is sibling routing (filter/browse alternatives), which is a usage-guideline concern rather than a blocking omission.

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 all six parameters are already documented, and the baseline is 3. The description only reinforces the query parameter semantics ('parça kodu veya anahtar kelime') and says nothing about sort, in_stock, page, page_size, or the category filter beyond what the schema states.

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?

States a specific verb (arama yapar) and resource (E-Komponent kataloğu) and gives concrete query examples ('STM32F103', '10uF 0805') that show the accepted input shape. It does not contrast itself with sibling tools such as filter_products or search_categories, so an agent must infer the boundary.

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 by the examples ('search by part code or keyword'), which tells an agent the primary entry path, but there is no explicit when-not-to-use statement and no mention of when filter_products or search_categories would be preferable. The category parameter description in the schema points to search_categories, but the description itself does not route the agent.

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