Skip to main content
Glama

Update product

jami_update_product
Idempotent

Update a product's title, description, status, or price amount; use it to publish, draft, archive, or adjust fixed or flexible pricing without changing the pricing model.

Instructions

Change a product's title, description, status or price amount. The pricing model itself is locked.

Args: product_id (p_… token or id), and any of: title, description, status ('published' | 'draft' | 'archived' — archived stops new sales), amount_minor (fixed price), minimum_amount_minor (flexible floor).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
statusNo
product_idYesProduct p_… token or id
descriptionNo
amount_minorNo
response_formatNo'markdown' (default) for a readable summary, 'json' for the full structured payloadmarkdown
minimum_amount_minorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic Jami page where anyone can buy it (published only)
priceYes
titleYes
tokenYesUse as product_id in jami_create_checkout
statusYes
product_idYes
amount_minorYes
pricing_modelYes
minimum_amount_minorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, idempotentHint=true, destructiveHint=false), but the description adds real behavioral context beyond them: pricing model is locked, 'archived' stops new sales, and updates are partial ('any of'). It is silent on auth requirements, error behavior, and what happens if both amount_minor and minimum_amount_minor are sent.

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?

Front-loaded with the purpose, then a compact args list; every sentence is doing work. The terse 'Args:' pseudo-syntax is dense but readable, with only minor redundancy between the first sentence and the field list.

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?

An output schema exists (and response_format is documented in the schema), so return values need no explanation here. For a partial-update tool with annotations present, the description covers the fields and key constraints well; the main gap is how the two price parameters interact when supplied together.

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?

With only 29% schema description coverage, the description carries most of the burden and largely succeeds: it explains product_id's token form, the status enum values with the semantic effect of 'archived', and — critically — that amount_minor is a fixed price while minimum_amount_minor is a flexible floor. It omits response_format and the length bounds, which the schema handles.

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 ('Change a product's title, description, status or price amount') and enumerates the mutable fields. It clearly is the mutation counterpart to jami_create_product and jami_get_product, but it never explicitly names or contrasts those siblings.

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?

Usage is implied by 'Change...' and 'any of' (partial update), but there is no explicit when-to-use/when-not-to-use guidance, no prerequisite or permission notes, and no pointer to alternatives such as create vs update. The 'pricing model itself is locked' line hints at a constraint but does not guide tool selection.

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