Skip to main content
Glama

Price history

price_history
Read-onlyIdempotent

Use this when the user asks how a fragrance's US store price has moved, its 90-day low or typical price, or whether it is a good time to buy, for one bottle size. Input: fragrance_id from search_fragrances, optional size_ml (default: the main full size), days (7 to 365, default 90). Returns the daily lowest US store price we recorded, with low, typical (median) and all-time low, and a buy-or-wait verdict once 30 days exist. History starts the day a retailer feed was connected and is never filled in, so it can be short. Returns an error when no store price has been recorded for that size (fragrance_price has the list price).

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": {
      "fragrance_id": "<fragrance_id>"
    },
    "name": "price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
size_mlNo
fragrance_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: history starts the day a retailer feed was connected and is never backfilled, the verdict only appears after 30 days, and it errors when no store price exists for that size. Minor gap: nothing on pagination or how many daily points are returned.

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 with the usage trigger and then structured as Input / Returns / caveats. Dense but nearly every clause earns its place; the return-value sentence partly duplicates the output schema, which is the one place it could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, yet the description still covers the two things that schema cannot: the data's truncation caveat (short history from feed connection date) and the error condition for sizes with no recorded store price. Nothing an agent needs in order to call or interpret this tool is missing.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden and does: fragrance_id is sourced from search_fragrances, size_ml defaults to the main full size, and days is bounded 7-365 with a default of 90 — bounds the schema does not encode. That is meaningful added meaning, not paraphrase.

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: how a fragrance's US store price has moved for one bottle size, plus the derived 90-day low, typical price, and buy-or-wait verdict. It implicitly separates itself from fragrance_price by noting that tool holds the list price.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Opens with an explicit trigger condition ('when the user asks how a fragrance's US store price has moved... or whether it is a good time to buy') and scopes it to one bottle size. It also names the alternative path for list prices (fragrance_price), so the agent knows when not to call this.

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