Skip to main content
Glama

update_product

Update allowlisted product fields including metadata, pricing, listing state, payment options, wallet, branding, and slug. PATs are preferred and require mcp:products:write or mcp:*.

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

Input Schema

NameRequiredDescriptionDefault
idNoProduct ID to update
nameNoUpdated product name
slugNoProduct slug to update
chainNoUpdated chain/network
priceNoUpdated product price
activeNoEnable or disable the product
apiKeyNoLegacy endpoint API key (x402_*)
logoUrlNoUpdated logo URL
newSlugNoNew slug to assign to the product
categoryNoUpdated product category
currencyNoUpdated currency code
isListedNoWhether the product should be listed
bannerUrlNoUpdated banner URL
customFontNoCustom font family
accessTokenNoYour dashboard MCP personal access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_*
descriptionNoUpdated product description
customPageBgNoCustom page background color
walletAddressNoUpdated payout wallet address
customButtonBgNoCustom button background color
customPageTextNoCustom page text color
paymentOptionsNoUpdated payment options object
productImageUrlNoUpdated product image URL
customButtonTextNoCustom button text color

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / accessToken / description
      Previous value: -"Your dashboard MCP personal access token (sgl_pat_*)"New value: +"Your dashboard MCP personal access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_*"
  2. Changed3 schema fields changed
    • addedInput schema / properties / accessToken
      Added value: +{
      +  "description": "Your dashboard MCP personal access token (sgl_pat_*)",
      +  "type": "string"
      +}
    • changedInput schema / properties / apiKey / description
      Previous value: -"Your endpoint API key (x402_*)"New value: +"Legacy endpoint API key (x402_*)"
    • removedInput schema / required
      Removed value: -[
      -  "apiKey"
      -]
  3. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does add genuine value by disclosing the auth requirement (mcp:products:write or mcp:*, PATs preferred), but it omits critical mutation semantics for a 23-parameter update: whether omitted fields are preserved or cleared, whether the update is partial or full-replace, and whether changes are reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences, front-loaded with the core action and followed by the auth condition. The field-group enumeration earns its place by orienting an agent across 23 parameters, though it is somewhat list-like and could be tightened.

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 23-parameter mutation tool with no annotations and no output schema, the description covers the action, the field surface, and auth. It is still incomplete on the two things an agent most needs here: partial-update semantics and what a successful response returns, and it never mentions that the required-ish 'id' identifies the target record.

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 coverage is 100%, so every parameter is already documented in the input schema and the baseline is 3. The description's only added meaning is grouping the fields into thematic buckets (pricing, branding, wallet, slug), which helps orientation but adds no syntax, format, or interaction detail beyond the schema.

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?

States a specific verb and resource ('Update allowlisted product fields') and enumerates the field groups covered (metadata, pricing, listing state, payment options, wallet, branding, slug). This is clearly distinguishable from sibling tools like update_campaign and update_endpoint by resource alone, though the description never explicitly contrasts them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use versus when-not-to-use guidance and no alternatives named. The only usage constraint offered is the 'allowlisted ... fields' qualifier plus the auth scope, which implies rather than states the context in which the tool should be selected.

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