Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

create_commerce

Updates commerce settings for a channel by toggling catalog visibility and enabling or disabling the cart.

Instructions

Update catalog/cart commerce settings via the params object.

  • params.is_catalog_visible — show catalog storefront icon (true) or hide it (false).

  • params.is_cart_enabled — enable cart (true) or disable it (false).

Blocked when the channel subscription limit is exceeded. Requires a commerce-capable channel (Cloud Functions /commerceWAV2).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "params": "<params>"
    },
    "name": "create_commerce"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full load. It usefully discloses two real behavioral constraints — the subscription-limit blocking condition and the commerce-capable channel dependency with its Cloud Functions endpoint. It stops short of saying whether the update is partial or wholesale, whether it is reversible, or what a successful response contains, which matters for a mutation tool.

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 action statement followed by a tight bulleted enumeration of the two properties and then the constraints. No redundant sentences; slightly clipped phrasing ('Cloud Functions `/commerceWAV2`') adds little for an agent.

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 two-flag mutation tool with no annotations and no output schema, the description covers the core behavior and failure conditions but omits success semantics, partial-update behavior, and authentication requirements. It is adequate to invoke but leaves gaps an agent would want filled.

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 description coverage is 0%, so the description must compensate, and it does explain the boolean semantics of both nested fields (`true` shows the storefront icon, `false` hides it; cart enabled/disabled). That said, the field names `is_catalog_visible` and `is_cart_enabled` are largely self-explanatory, so the added meaning is modest rather than critical.

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?

The description opens with a specific verb and resource: 'Update catalog/cart commerce settings via the `params` object', and the nested field list makes the scope concrete. It is clearly distinguishable from the read-only sibling `get_commerce`, though the name `create_commerce` versus the verb 'Update' creates minor friction.

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?

Prerequisites are stated ('Blocked when the channel subscription limit is exceeded', 'Requires a commerce-capable channel'), which implies when calls will fail. However, there is no explicit guidance on when to use this versus `get_commerce` or `create_settings`, and no statement about which settings are left untouched when only one flag is supplied.

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