Skip to main content
Glama

hepsiburada_price_stats

Calculates price statistics for a product search query, returning product count and min, median, mean, and max prices in TRY from the first page of results.

Instructions

Price statistics for a search query: product count, min / median / mean / max price in TRY across the first page of results. query: e.g. "iphone 15"; limit 1..24 (default 24 = whole first page).

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

Input Schema

NameRequiredDescriptionDefault
sortNorelevance
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely important behavioral trait: statistics are computed only 'across the first page of results', which warns the agent about sampling scope. It does not state read-only nature, behavior on zero results, or any auth/rate-limit context, so the disclosure is useful but incomplete.

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?

Two compact sentences with no waste: the operation and its outputs lead, followed by parameter constraints. Every clause earns its place, and nothing important is buried.

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?

An output schema exists, so return values did not need spelling out, yet the description still names the metrics, which is helpful rather than harmful. The main completeness gap is the undocumented 'sort' parameter, which matters because it changes which results feed the statistics.

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 0%, so the description must compensate. It does so for two of three parameters — query (with an example, "iphone 15") and limit (range 1..24, default 24 meaning the whole first page) — but the 'sort' parameter is never mentioned, and its role in which page/results get sampled is left unexplained.

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 states a specific operation ('price statistics for a search query') and enumerates exactly which metrics are produced (count, min/median/mean/max) plus the currency (TRY). This clearly separates it from listing-oriented siblings like hepsiburada_search, though no sibling is named explicitly.

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: an agent can infer it should call this when it wants aggregated pricing rather than raw listings. There is no explicit when-to-use/when-not guidance and no alternative tool is named, leaving routing to the agent's inference from the metrics listed.

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