Skip to main content
Glama

IXA.RO

Compara preturi produs

get_product_prices
Read-only

Obtine compararea de preturi pentru un produs de pe ixa.ro: preturile actuale din fiecare magazin, cel mai mic pret si daca produsul are o reducere recenta fata de pretul mediu istoric.

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": {
      "productId": "<productId>"
    },
    "name": "get_product_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdYesID-ul produsului (10 caractere), obtinut din rezultatele search_products/search_recent_discounts sau din URL-ul unui produs de pe ixa.ro (/p/{id}/...)

Output Schema

NameRequiredDescriptionDefault
urlNoPagina de comparare de preturi de pe ixa.ro
nameNo
offersNoOfertele magazinelor, de la cel mai mic pret
imageUrlNo
productIdNo
lowestPriceNoCel mai mic pret dintre oferte, in RON; null daca nu exista oferte
hasBestPriceNoDaca produsul are o reducere recenta fata de pretul mediu istoric

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the extra burden is lower. The description still adds real semantic context: it discloses what the comparison contains and, importantly, that the discount judgement is relative to the historical average price, which the annotations say nothing about.

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?

A single compact sentence that front-loads the action and then lists the payload. Dense with information and free of filler, though the colon-list construction makes it slightly harder to scan than separate clauses would.

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 one-parameter, read-only tool with an output schema and full annotation coverage, the description supplies everything needed to select and call it correctly. Minor omissions remain: no mention of behavior for an invalid or stale product ID, and no note on data freshness of the 'current' prices.

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% and the productId description already explains the 10-character format and where to obtain the ID (search results or the /p/{id}/ URL). The description adds no parameter detail beyond that, so the baseline of 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 gives a specific verb and resource ('Obtine compararea de preturi pentru un produs de pe ixa.ro') and enumerates the content of the result: per-store prices, lowest price, and a recent-discount flag against the historical average. It clearly reads as a single-product lookup rather than a search, though it never names a sibling tool to sharpen 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 only implied: it is clear you call this for one product once you have its ID, and the schema note points at search_products/search_recent_discounts as ID sources. There is no explicit when-to-use/when-not statement or guidance versus get_product_by_store_url, which is a plausible alternative for store-specific lookups.

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