Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

get_commerce

Check a channel's catalog visibility and cart status before enabling storefront commerce features; returns provider error if the WABA has no linked catalog.

Instructions

Returns catalog/cart commerce settings for the channel.

Fails with a provider error when the WABA has no catalog linked — that is an API/account limitation, not an MCP schema bug.

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

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

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": "get_commerce"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses a specific failure mode (provider error when no catalog is linked) and pre-empts misdiagnosis by labeling it an API/account limitation rather than an MCP schema bug. It omits permissions/auth requirements and does not explicitly assert read-only behavior, keeping it short of a 5.

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?

Purpose is front-loaded in the first sentence, followed by the failure caveat and then a compact field list — a sensible ordering with no filler. The failure explanation spans three lines for one idea and could be tightened without losing meaning.

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?

For a zero-parameter read tool with no output schema, the description supplies the two return fields and the main error condition, which is most of what an agent needs to call it and interpret results. It stops short of stating the return shape (e.g., a settings object) or whether unlisted fields exist.

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?

The tool takes zero parameters, so the baseline is 4; however, the description's enumerated items (`is_catalog_visible`, `is_cart_enabled`) are response fields, not inputs, so they add nothing on the parameter axis. The small deduction reflects that this content belongs to output semantics rather than input semantics.

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: 'Returns catalog/cart commerce settings for the channel,' and the field list clarifies exactly which two settings are in scope. It is clearly distinct from write-oriented siblings like create_commerce or create_settings, though it never names those alternatives explicitly.

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 only implied by the verb 'Returns' — an agent can infer this is the read path for commerce settings, but there is no explicit 'use this before create_commerce' or 'do not use to modify settings' guidance. The note about the provider error gives a useful precondition hint (WABA must have a catalog linked), which partially compensates.

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