Skip to main content
Glama

stackwell_merge_supplement_with_catalog

DestructiveIdempotent

Merge one of the user's own supplements with a catalog product. The supplement keeps its id, plan, intakes, pauses, stock, price and notes; name, brand, form, serving size and ingredients are taken from the catalog. With dismiss=true the suggestion is rejected instead ("different product").

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": {
      "supplementId": "<supplementId>",
      "catalogSupplementId": "<catalogSupplementId>"
    },
    "name": "stackwell_merge_supplement_with_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
dismissNo
supplementIdYes
catalogSupplementIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations flag destructiveHint=true and idempotentHint=true; the description adds the concrete specifics behind that flag by enumerating what is preserved (id, plan, intakes, pauses, stock, price, notes) and what is overwritten (name, brand, form, serving size, ingredients). It stops short of stating irreversibility or any confirmation/undo behavior, so it enriches but does not fully substitute for the annotations.

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 tightly written sentences, front-loaded with the action, followed by the field-preservation rule and the dismiss branch. No redundant or filler phrasing.

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 no output schema and three untyped-in-description parameters, this is nearly complete: the agent knows which fields survive, which are replaced, and what dismiss does. Missing are error conditions (e.g., supplement not found or already merged) and any confirmation requirement for a destructive merge.

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 0%, so the description must carry the parameter meaning, and it does: supplementId is the surviving user record while catalogSupplementId supplies the identity fields, and dismiss flips the operation into a rejection with the reason 'different product'. It never explicitly binds those semantics to the literal parameter names, which is the only gap.

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 ('Merge one of the user's own supplements with a catalog product') and implicitly distinguishes itself from the add-from-catalog sibling by describing a merge rather than an insert. An agent can tell exactly which record survives and which supplies data.

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?

Makes clear this applies to merging one's own supplement with a catalog product, and covers the alternative branch via dismiss=true ('the suggestion is rejected instead'). It does not explicitly name a sibling tool or state preconditions such as what triggers a suggestion, so it falls short of a full when/when-not statement.

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