Skip to main content
Glama

Whathead Ad Operations

Commerce stores

commerce_native_action
Read-onlyIdempotent

Commerce gateway for WooCommerce, Salla, and Shopify store discovery and store operations. Use whathead_tool_help with gateway="commerce_native_action" and operation= to inspect nested input fields before a complex call.

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": {
      "operation": "<operation>"
    },
    "name": "commerce_native_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNoExact arguments for the selected operation. The original operation schema is validated before execution.
operationYesValidated internal operation to execute.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds the pre-call inspection workflow, which is real behavioral context. It does not clarify whether the 'woocommerce_store_ops' operation can mutate store state, which is exactly the ambiguity an agent would want resolved against the readOnly annotation.

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?

Two sentences, front-loaded with purpose followed by the operational hint, with no filler. The platform list is slightly misleading relative to the enum but the text itself is efficient.

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 gateway with a nested free-form arguments object and no output schema, the description supplies the key discovery path via whathead_tool_help. What is missing is any indication of what each of the two operations does or what a call returns, which matters because the nested payload cannot be constructed from this description alone.

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 coverage is 100% and the operation enum documents the two valid values, so the baseline is 3. The description adds the important fact that the free-form 'arguments' object is validated against the original operation schema and points to whathead_tool_help for discovering its shape. It still does not describe any concrete argument fields for either operation, leaving the nested object opaque without a second call.

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 names a specific resource class (commerce gateway for WooCommerce, Salla, and Shopify) and the two activities it covers, store discovery and store operations. It is distinguishable from the *_native_read siblings by being a commerce gateway rather than an ad-platform read tool. However, 'store operations' is vague, and the named platforms (Salla, Shopify) exceed the actual enum, which only contains WooCommerce operations.

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?

It gives one concrete procedural guideline: call whathead_tool_help with gateway="commerce_native_action" and operation=<name> to inspect nested fields before a complex call. That is useful when-to-use guidance for the nested arguments. But it offers no guidance on when to pick commerce_native_action over sibling read tools, nor any prerequisites such as store connection or auth requirements.

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.