Skip to main content
Glama

gratis_price_stats

Get price statistics for Gratis search results, including total results, products analyzed, TRY price min/median/mean/max, cheapest and priciest items, discounts, and top categories.

Instructions

Price statistics for a Gratis search (first 24 results).

query: e.g. "şampuan". Returns the search total, the number of products analysed, min / median / mean / max shelf price in TRY, the cheapest and most expensive product, how many are discounted and the average discount, and the most common categories. Use it to answer "how much does X cost at Gratis?" without paging through listings.

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

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/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. It does disclose an important behavioral constraint (only the first 24 results are analysed) and lists the aggregate outputs, but says nothing about read-only semantics, rate limits, authentication, or what happens when the query yields no products — all material for a stats/aggregation tool.

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?

Front-loaded and well organized: purpose and scope first, use case last. The long enumeration of returned metrics is partly redundant since an output schema already exists, but it serves the selection decision rather than wasting space.

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 single-parameter read tool with an output schema, this is close to complete — scope limit, metric set, and intended question are all covered. The remaining gap is behavior around empty results and data freshness, which no other structured field supplies.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter and 0% schema description coverage, but the description supplies a concrete example value ('şampuan'), which signals that queries are natural-language product terms in Turkish. That is meaningful added guidance the schema's bare 'Query' title does not provide, though format/edge-case behavior remains unstated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Price statistics for a Gratis search') and immediately bounds scope ('first 24 results'), then enumerates exactly which metrics are produced. The parenthetical 'without paging through listings' implicitly contrasts it with the listing/search siblings, so an agent can tell what makes this tool distinct.

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 an explicit use case — answering 'how much does X cost at Gratis?' — and the condition that motivates it (avoiding manual paging through listings). It stops short of naming gratis_search_products as the alternative for full listings, so the routing guidance is clear but not exhaustive.

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