Skip to main content
Glama

Create a price alert

create_price_alert

Alert the user when a brand or keyword goes on offer. Needs a MyGroceryPal account.

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": {
      "kind": "<kind>",
      "term": "<term>"
    },
    "name": "create_price_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesbrand: every product of a brand; keyword: product names
termYese.g. 'Cadbury' or 'oat milk'
minSavingsPercentNoPercent, 15 by default

Output Schema

NameRequiredDescriptionDefault
kindYes
termYes
storeToAddNo
minSavingsPercentYes

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?

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the agent knows this is a non-destructive local write. The description adds two things beyond that: the account/authentication requirement and the fact that the alert persists and fires later when an offer appears, which is a genuinely useful behavioral trait. It omits behavior around duplicate alerts, alert limits, and how notification is delivered, keeping it below 5.

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?

Two sentences, no filler: the purpose leads, the prerequisite follows. Nothing is repeated from the title and no sentence could be removed without losing information.

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 an output schema present, return values need no explanation, and the three parameters are fully specified in the schema. The description covers purpose and the account prerequisite, leaving only secondary gaps (duplicate-alert behavior, delivery mechanism) that matter less for a simple three-parameter create.

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% and every property (kind enum, term examples, minSavingsPercent default of 15) is documented in the schema itself. The description only echoes 'brand or keyword,' adding no syntax, default, or edge-case meaning beyond the structured fields, so the baseline 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 uses a specific verb plus resource: 'Alert the user when a brand or keyword goes on offer,' which tells an agent exactly what gets created and the two monitoring modes. It does not name a sibling such as search_grocery_prices or check_price_history to differentiate itself, so it stops short of a 5.

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?

'Needs a MyGroceryPal account' supplies a real prerequisite that gates invocation. However, there is no explicit when-to-use versus alternative guidance (e.g., use search_grocery_prices for one-off lookups vs. this for ongoing monitoring), so usage is only implied.

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