Skip to main content
Glama

Is this price a deal?

price_check
Read-onlyIdempotent

Use this when the user saw a price for a fragrance (any store, sale or discounter) and asks whether it is a good deal. Input: fragrance_id from search_fragrances, price in USD, and size_ml when known (1 oz = 30 ml, 1.7 oz = 50 ml, 2.5 oz = 75 ml, 3.4 oz = 100 ml, 6.8 oz = 200 ml). Compares the price with the brand's US list price for that size, with 90 days of US store prices once 30 days exist, and with the next dated sale. Without size_ml the price must match one size's list price; otherwise the verdict is need_size with every size's list price, so ask the user which size. Returns an error for a size EauIndex does not track (listing the sizes it does).

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>",
      "price": "<price>"
    },
    "name": "price_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceYes
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
Behavior5/5

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

Despite carrying annotations, the description adds substantial behavior beyond them: the benchmark sources (US list price, 90-day US store prices gated on 30 days existing, next dated sale), the ambiguous-price resolution rule, the `need_size` fallback verdict, and the error path for untracked sizes. Nothing here is repeated from annotations.

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?

Dense and front-loaded — the trigger comes before the mechanics, and the fallback/error clauses come last where they belong. The inline ounce-to-milliliter table is useful but pads the middle of the sentence; a compact form would read faster.

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?

Output schema exists, so return shape needn't be explained; the description still covers the two control-flow outcomes an agent must act on (`need_size` and the untracked-size error). For a 3-parameter read-only query tool, this is complete.

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?

With 0% schema coverage, the description carries the full burden and does: fragrance_id is sourced from search_fragrances, price is scoped to USD, and size_ml gets both unit conversions (1.7 oz = 50 ml, etc.) and a stated behavioral consequence when omitted. All three parameters gain meaning absent from the schema.

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?

The description opens with a concrete trigger ('the user saw a price for a fragrance... and asks whether it is a good deal') and a concrete verb+resource: comparing a price against list price, recent store prices and the next sale. That is distinguishable from siblings like price_history or fragrance_price, which do not return a deal verdict.

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?

When-to-use is explicit, and it routes the agent to search_fragrances to obtain fragrance_id, plus tells the agent what to do when size_ml is unknown (ask the user, expect `need_size`). What is missing is explicit differentiation from price_history or fragrance_price, but the conditions that select this tool are unambiguous.

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