Skip to main content
Glama

Alder

Before you buy

before_you_buy
Read-only

Call this before the user buys a product online. Returns which major US stores refund the difference if the price drops after purchase (and until when), which do not, and a search link for the product at each store. Use it to recommend where to buy so the user is protected.

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": {
      "product": "<product>"
    },
    "name": "before_you_buy"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceNoPrice the user is seeing, in USD (optional)
storesNoStores being considered (optional). Leave empty to compare all supported stores.
productYesProduct name, e.g. "Apple AirPods 4"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description then adds the substance the annotations cannot: what is actually returned (refund window, non-refunding stores, search links) and the scope limit of 'major US stores'. It does not discuss result freshness, coverage gaps, or failure modes for unsupported products.

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?

Three sentences, front-loaded with the invocation trigger and followed by what comes back. The closing sentence ('Use it to recommend where to buy so the user is protected') partly restates the opening framing, which is the only slack.

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?

With three parameters, full schema coverage, no output schema, and read-only annotations, the description carries the return-value explanation well: it enumerates the three things the agent gets back. Minor gaps remain around the size/format of the store list and how the optional price input changes results.

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 description coverage is 100%, so product, price, and stores are already fully documented in the schema, including the 'leave empty to compare all supported stores' note. The description adds no extra meaning about how price or stores affect the result, so the baseline of 3 applies.

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 states a specific action and resource: given a product, it reports which major US stores offer post-purchase price-drop refunds, until when, which do not, and a per-store search link. That is far more concrete than the title 'Before you buy'. It does not explicitly contrast with the sibling tools check_price_drop and store_policy, so the sibling-differentiation bar for a 5 is not met.

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?

It gives a clear trigger ('Call this before the user buys a product online') and a clear purpose ('recommend where to buy so the user is protected'), which is enough for an agent to know when to invoke it. It stops short of naming when not to use it or pointing to check_price_drop/store_policy for post-purchase or policy-lookup cases.

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