Skip to main content
Glama

Add a product to track

add_tracked_product
DestructiveIdempotent

Adds a product to the tracked list from a marketplace product URL or from a GTIN (EAN/UPC), exactly one of the two, and starts collecting its offers. Adding a product already tracked changes nothing. Counts against the plan limit of tracked products.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_tracked_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
gtinNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds real context beyond the annotations: offer collection is started, re-adding is a no-op, and the call consumes the plan's tracked-product quota. It does not explain the destructiveHint=true flag (nothing says what an add could remove) or what happens after the plan limit is exceeded, which are the notable remaining gaps.

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 tight clauses, front-loaded with the action and inputs, then no-op semantics, then the quota constraint. No filler or repetition of the title.

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?

For a 2-parameter mutation with no output schema the description covers inputs, exclusivity, idempotency, side effects and quota. What the call returns on success and the failure modes (invalid URL, unknown GTIN, limit reached) are the only omissions.

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?

Schema coverage is 0% and required is empty, so the description carries the whole burden — and it does: url means a marketplace product URL, gtin means EAN/UPC, and crucially the mutual-exclusion rule 'exactly one of the two' that the schema itself does not express. Without this sentence an agent would likely send both or neither.

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 ('Adds a product to the tracked list') plus the two accepted input modes (marketplace product URL or GTIN/EAN/UPC), and adds the side effect 'starts collecting its offers'. The verb 'add' is unmistakably distinct from the list_/get_/set_ siblings.

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?

Gives a concrete selection rule between the two inputs ('exactly one of the two') and a re-use rule ('Adding a product already tracked changes nothing'), which tells the agent it can call it safely without a pre-check. It stops short of naming when to prefer URL vs GTIN or what to do when the product is untrackable, so no explicit alternative-routing guidance.

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.