Skip to main content
Glama

Ürünleri karşılaştır

compare_products
Read-onlyIdempotent

Compare 2–5 electronic components side by side to evaluate price, stock, lead time, packaging, datasheet, and technical specs for informed part selection.

Instructions

2 ila 5 ürünü yan yana karşılaştırır: fiyat (TL + ham döviz), stok miktarı ve kaynağı (yerel/yurtdışı), tedarik süresi, kılıf/paketleme, datasheet ve tüm teknik özellikler.

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

Input Schema

NameRequiredDescriptionDefault
productsYesKarşılaştırılacak 2-5 ürün (MPN, slug veya tam URL).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so safety is covered. The description adds real value by disclosing what data the comparison surfaces (TL plus raw currency pricing, stock source local/international, lead time, datasheet presence), which matters especially since no output schema exists. It does not mention cost, latency, or what happens when a product cannot be resolved.

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?

A single front-loaded sentence: verb and cardinality first, then the compared attributes. Every clause enumerates a distinct comparison field, so nothing is padding despite the 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?

With no output schema, the description carries the burden of describing what comes back, and it does so by listing the comparison fields. It is slightly incomplete in not indicating the shape of the result (e.g., per-attribute rows vs. per-product blocks) or error behavior for unresolvable products.

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% and the single 'products' parameter already documents accepted identifiers (MPN, slug, or full URL) plus the 2-5 range. The description only restates the '2 ila 5 ürün' bound, adding no new meaning such as ordering, duplicate handling, or failure behavior for invalid identifiers. Baseline 3 applies.

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 opens with a specific verb and resource ('2 ila 5 ürünü yan yana karşılaştırır') and enumerates exactly which attributes are compared (price in TL and raw currency, stock quantity/source, lead time, packaging, datasheet, technical specs). This clearly separates it in spirit from single-product siblings like get_product, but no sibling is named, so it stops short of full differentiation.

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?

The '2 to 5 products' framing implies the multi-product comparison scenario versus fetching a single product, but there is no explicit when-to-use/when-not-to-use statement and no named alternative such as get_product or search_products. Usage must be inferred from the enumeration of comparison dimensions.

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