Skip to main content
Glama

Create price alert

create_price_alert

Create a price alert for a product. Use notify_on_drop / notify_on_rise for any price change without a numeric threshold, and/or min_threshold_price / max_threshold_price for target prices. At least one of those four settings is required. Requires a Pricewatcha API key (pwk_live_...) from https://pricewatcha.com/profile#api-keys. On failure, returns a structured error object with fields error.code, error.message, error.http_status, error.retry_recommended, and error.retry_after_seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional alert name
api_keyYesPricewatcha API key (pwk_live_...)
product_idYesPublic product ID (prod_... or demo_...)
webhook_urlNoOptional HTTPS webhook URL
notify_emailNoSend email notifications (default true)
notify_on_dropNoNotify on any price drop. No threshold required.
notify_on_riseNoNotify on any price increase. No threshold required.
max_threshold_priceNoNotify when the price rises to or above this value.
min_threshold_priceNoNotify when the price drops to or below this value.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
alert_idYes
currencyYes
is_activeYes
created_atYes
product_idYes
updated_atYes
webhook_urlNo
notify_emailYes
notify_on_dropYes
notify_on_riseYes
last_triggered_atNo
max_threshold_priceNo
min_threshold_priceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already indicate it's a write operation (readOnlyHint=false, destructiveHint=false), so the safety profile is known. The description adds valuable context about required API key, failure error format, and threshold logic beyond annotations, though it doesn't cover idempotency or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with purpose and usage, then API key requirement, then error handling. Every sentence earns its place with no fluff.

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?

Given the complexity (9 parameters, write operation) and the presence of an output schema (which handles return values), the description covers purpose, usage, requirements, and error behavior adequately. Nothing critical is missing.

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 100%, so the schema documents all parameters. The description adds semantic relationships: explains that notify_on_drop/rise work without thresholds and that min/max_threshold_price are for target prices, and mentions the requirement of at least one. This adds meaning beyond the schema descriptions.

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 and resource ('Create a price alert for a product') and explicitly distinguishes itself from update_price_alert and delete_price_alert by naming creation. An agent can identify the tool's purpose immediately.

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?

Provides clear context on when to use specific parameters and the mandatory constraint ('At least one of those four settings is required'), but does not explicitly route to sibling tools like update_price_alert for modifications.

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.