Skip to main content
Glama

Goma – MCP for Danish grocery prices, meal plans, and recipes

Opret prisalarm

create_price_alert
Idempotent

Use this when the user wants to hear when one product gets cheaper. Needs productId from compare_prices or search_offers. Without targetPrice Goma notifies on any price drop.

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

Input Schema

NameRequiredDescriptionDefault
productIdYes
targetPriceNoNotify when the price is at or below this, in DKK.

Output Schema

NameRequiredDescriptionDefault
urlYesThe user's tilbudsalarmer on goma.gg.
alertIdYes
productYes
targetPriceYesIn DKK; null means any price drop.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, idempotentHint=true, openWorldHint=false and destructiveHint=false. On top of that, the description discloses the default behavior when targetPrice is omitted ('notifies on any price drop'), which is real behavioral context the schema does not convey. It says nothing about how to undo the alert, but remove_price_alert exists as a sibling.

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 short sentences, front-loaded with the triggering condition followed by the prerequisite and the default behavior. Every sentence adds an operational fact; there is no filler.

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?

The tool is simple (2 params, one required) and an output schema exists, so return values need not be described. The main residual gap is lifecycle context: whether calling it twice on the same product replaces or adds an alert, and which sibling removes it.

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 50%: targetPrice is documented, productId is not. The description compensates by stating where productId must come from (compare_prices or search_offers) and by explaining the semantics of omitting targetPrice. Currency and the numeric bounds are already in the schema, so nothing important is duplicated.

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 frames the tool by intent ('when the user wants to hear when one product gets cheaper') and pins the scope to a single product, which separates it from offer-wide siblings like create_offer_alert. It never states the verb explicitly ('creates a price alert'), so the agent must infer the action from the name and 'notifies', but the resource and scope are unambiguous.

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 ('Use this when the user wants...') and a prerequisite chain, naming compare_prices and search_offers as the sources for productId. It does not give an explicit when-not (for example, when an offer alert would be the better choice), so the routing is clear but not complete.

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