Skip to main content
Glama

update_commerce_collection

Destructive

Update a collection's own fields. Only the arguments you set are changed.

To change which products it contains, use add_products_to_commerce_collection, remove_products_from_commerce_collection, or set_commerce_collection_products.

Args: project_id: The project ID. collection_id: The collection ID. title: New collection name. description: New description. slug: New URL slug. image_url: New cover image URL. status: active or draft. sort: New ordering weight. Leave -1 to keep current. seo: JSON object, replaces the existing SEO block.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seoNo
slugNo
sortNo
titleNo
statusNo
image_urlNo
project_idYes
descriptionNo
collection_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, readOnlyHint=false, openWorldHint=true, so the safety profile is already covered. The description adds genuine context beyond the annotations: partial-update semantics ('Only the arguments you set are changed') and that 'seo' replaces the entire existing SEO block. It stops short of explaining why the operation is flagged destructive, which keeps it at a 4 rather than 5.

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?

Front-loaded with purpose, then sibling routing, then a compact Args block. Nothing is padding, and the Args block is justified by the 0% schema description coverage rather than being redundant.

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?

With an output schema present, return values need no explanation, and annotations cover safety. Given 9 parameters at 0% coverage, the description is thorough; the only small gap is that the destructiveHint=true flag is not reconciled with the described behavior.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden, and it delivers: every parameter gets meaning beyond its name, including the 'status: active or draft' value set and 'sort: New ordering weight. Leave -1 to keep current,' which explains the schema's -1 default.

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

Purpose5/5

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

States a specific verb and resource ('Update a collection's own fields') and immediately scopes the boundary by naming what it does NOT cover (product membership). An agent can distinguish it from the add/remove/set_products siblings without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent to the correct alternative for a closely related operation: 'To change which products it contains, use add_products_to_commerce_collection, remove_products_from_commerce_collection, or set_commerce_collection_products.' This is exactly the when-to-use-what guidance that distinguishes the tool from its closest siblings.

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