set_payment_config
Set/merge the product's payment_config (enable payments, catalog_mode, skus, discount, custom_fields, webhook URLs, return URLs, sandbox).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | ||
| payment_config | Yes |
Set/merge the product's payment_config (enable payments, catalog_mode, skus, discount, custom_fields, webhook URLs, return URLs, sandbox).
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | ||
| payment_config | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It usefully discloses merge semantics rather than full replacement, and lists the config scope, but omits permissions, side effects, error behavior, and what happens to unspecified fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with a dense but relevant parenthetical listing the config domains. Every element earns its place and there is no wasted text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with a nested object, no annotations, no output schema, and 0% schema coverage, the description supplies essential config vocabulary but still lacks usage guidance, auth requirements, and deeper merge semantics. It is partially but not fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It names likely payment_config keys such as enable payments, catalog_mode, skus, discount, custom_fields, webhook URLs, return URLs, and sandbox, adding meaning beyond the opaque object type. However, product_id is left undescribed and no value types or defaults are given.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States the specific verb set/merge and resource product's payment_config, and enumerates the config domains. It distinguishes itself from siblings like set_logistics_config and set_mobile_push_config by resource, though it does not explicitly name alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides no when-to-use guidance, prerequisites, or alternatives. An agent must infer that this is the correct tool when configuring payments versus update_product or other config setters.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.