Skip to main content
Glama

koton_price_stats

Calculate price statistics for a Koton search or category, including count, min/median/mean/max TRY, and lowest- and highest-priced product names.

Instructions

Price statistics over a Koton search or category.

Pass exactly one of query (e.g. "elbise") or category (a slug such as "kadin-elbise"). limit: how many products to analyse (1-50, default 50 — at most 3 listing pages are fetched). Returns count, min / median / mean / max TRY prices, the cheapest and most expensive product names, and the site's total match count.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "koton_price_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNodefault
limitNo
queryNo
categoryNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does reasonably well: it discloses the analysis cap (limit 1-50, default 50, at most 3 listing pages fetched), which tells the agent results may be sampled rather than exhaustive. It also states the currency (TRY) and mentions the site's total match count, but says nothing about auth, rate limits, or failure behavior.

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?

Front-loaded with the core statement, then the mutually-exclusive parameter rule, then limit semantics, then return contents—zero filler sentences and every clause adds usable detail.

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 need not be enumerated, yet the description still names them (count, min/median/mean/max, cheapest/most expensive, total match count), which helps selection. The only real gap is the undocumented `sort` parameter for a tool with no annotations.

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 must compensate. It explains query vs category (mutually exclusive), the limit range and default, and the page-fetch consequence—but the `sort` parameter is entirely undiscussed despite having a 'default' value with unknown valid options, leaving one of four 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?

States a specific operation and target: "Price statistics over a Koton search or category." It is clearly an aggregation tool rather than a listing tool, which separates it from koton_search_products / koton_category_products, 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear invocation guidance: "Pass exactly one of query (e.g. \"elbise\") or category (a slug such as \"kadin-elbise\")", with concrete examples of each input form. It does not state when to prefer this tool over a plain product search, so an explicit exclusion is absent.

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