Skip to main content
Glama

get_market_prices

A perfume's shop prices over time in one market or all: each offer's price intervals in the window (default the last 90 days, at most 366) and a daily summary per market — lowest price, median price per ml, in-stock share.

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": {
      "perfume_id": "<perfume_id>"
    },
    "name": "get_market_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD
fromNoFirst day, YYYY-MM-DD
typeNofull_bottle
marketNoTwo-letter country code (SA, EG, AE…)
perfume_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a decent job: it discloses the default window (90 days), a hard cap (366 days), the market scope, and precisely what the payload contains (price intervals per offer, daily lowest price, median price per ml, in-stock share). It stops short of stating authentication needs, rate limits, or pagination for large windows.

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 dense sentence, front-loaded with what is returned and followed by the window constraint and the output breakdown. Nothing is padded, though the em-dash enumeration of summary metrics makes it slightly harder to scan than a two-sentence split would be.

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 5-parameter read tool with no annotations and no output schema, the description is nearly self-sufficient: it defines the time window defaults and limits and enumerates the returned aggregates, which is exactly what an absent output schema requires. The unfilled hole is the type parameter's enum behavior across the seven product categories.

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?

Schema coverage is 60%, and the description adds genuinely new semantics the schema lacks: the default window length and the 366-day maximum, plus the implication that omitting market returns all markets. The one real gap is the type parameter — its seven enum values and full_bottle default are never explained in prose, so that field's meaning rests entirely on the enum.

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 names a specific resource and operation: a perfume's shop prices over time, with per-offer price intervals plus a per-market daily summary. That is far more concrete than a bare 'get prices'. It does not, however, distinguish itself from the sibling get_prices or get_market_trends, so an agent must infer the split from role alone.

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: the 'window (default the last 90 days, at most 366)' framing signals this is the historical time-series tool, and 'one market or all' signals a market-scoped variant. There is no explicit statement of when to prefer get_market_trends or get_prices, and no stated exclusions or prerequisites.

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