Skip to main content
Glama
APIBridge MCP Server
by chandru20

update_product

Modify an existing product's details, such as name, SKU, price, tags, or description, by ID to keep catalog data current.

Instructions

Update a product

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
idNoThe ID of the resource to modify
skuNo
dataNoRaw data object to send in the request body (alternative to individual fields)
nameNo
tagsNo
priceNo
descriptionNo
fromContextNoLoad data from context using this key
queryParamsNoQuery parameters to include in the request
saveToContextNoSave the response to context with this key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden and delivers nothing. It does not disclose whether this is a full replace or partial merge, what permissions are required, whether changes are reversible, or what happens to fields omitted from the request.

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

Conciseness2/5

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

At three words it is technically short but under-specified rather than concise; there is no structure, no front-loaded scope, and nothing that earns its place because nothing is said.

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

Completeness1/5

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

A 10-parameter mutation tool with nested objects, no annotations, and no output schema demands substantially more description. Nothing about request shape, side effects, or response behavior is covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Ten parameters at 50% schema coverage, and the description explains none of them. Critical ambiguities — id vs. sku as the identifier, data as an alternative to individual fields, and fromContext/saveToContext chaining — are left entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Update a product" restates the tool name with no additional detail. It does not distinguish this mutation from siblings such as create_product, delete_product, or update_user, nor does it say what aspects of a product can be updated.

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 guidance on when to use this tool versus create_product, get_product, or list_products, and no mention of preconditions such as needing an existing product ID. The agent must infer everything from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.