Skip to main content
Glama

BrandGene Context

Create or update product context

upsert_product_context
Idempotent

Create a new BrandGene product or update an existing product's description, selling points, price, promo badge, purchase URL, and product photo URLs.

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": "upsert_product_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoExisting product ID to update.
nameNoProduct name (required when creating).
brandIdNoOptional BrandGene brand ID to link this product to. Defaults to your active brand when creating.
categoryNoProduct category.
currencyNoISO currency code, e.g. USD (default USD).
imageUrlsNoHTTPS product photo URLs (first image is treated as the main photo and used as a visual reference by generate_ad_image).
storeNameNoStore or shop name, or null to clear.
promoLabelNoPromo badge such as '10% OFF' or 'New Launch', or null to clear.
descriptionNoProduct overview and key details.
purchaseUrlNoProduct HTTPS storefront URL, or null to clear.
currentPriceNoCurrent sale price.
originalPriceNoOriginal list price before discount, or null to clear.
sellingPointsNoCore product selling points (USPs).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare non-read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description adds which fields are writable, but leaves critical upsert semantics unstated: whether omitted fields are preserved or cleared on update, and whether partial updates overwrite existing values. That ambiguity matters for a 13-parameter, zero-required-parameter mutation.

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?

A single front-loaded sentence with the create/update verb pair first and the affected fields after. No filler, no redundancy, and the operative distinction appears immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with 13 parameters, no required fields, and no output schema, the definition is adequate but not complete. The schema and annotations carry the safety and per-field detail, yet the description never addresses omitted-field behavior or the practical workflow for creating versus updating, which an agent needs to invoke this correctly.

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%, so the schema already documents every parameter including the id-vs-name create/update distinction and null-to-clear semantics. The description's field list adds no meaning beyond what the schema states, so the baseline 3 is appropriate.

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 states a specific verb pair ('Create a new ... or update') and resource ('BrandGene product'), then enumerates the mutable fields. The create-vs-update duality makes it distinguishable from the read-only sibling get_product_context without naming it, though explicit sibling differentiation is absent.

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?

It implies the create path versus the update path ('a new product' vs 'an existing product's'), but never explains the selection criterion (id vs name), prerequisites such as obtaining an existing product ID, or when to prefer this over get_product_context. Usage is inferable rather than stated.

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.