Skip to main content
Glama

wp_woocommerce_update_settings

Update WooCommerce store settings by providing woocommerce_ prefixed key-value pairs to change currency, default country, and other configuration options.

Instructions

Update WooCommerce settings. Provide key-value pairs of woocommerce_ prefixed options. For example: {"woocommerce_currency": "EUR", "woocommerce_default_country": "FR"}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
settingsYesWooCommerce settings as key-value pairs. Keys must start with "woocommerce_".
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'Update' which implies a write operation, but does not explain side effects (e.g., whether it merges with existing settings), permission requirements, idempotency, or what the response contains. This is insufficient for a mutation tool with zero annotation coverage.

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?

The description is a single sentence plus an example, which is appropriately concise. The key information is front-loaded and the example clarifies the expected format without additional fluff. However, it could be slightly more structured by separating the action from the example, but this is a minor point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool is a write operation with no annotations or output schema, the description should be more complete. It does not mention return values, error conditions, or the impact on existing settings. It also does not clarify whether this tool is specifically for WooCommerce options as opposed to general options, though the name implies it. The example helps but does not compensate for the lack of behavioral context.

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 schema already documents the settings object and the requirement that keys start with 'woocommerce_'. The description adds an example with concrete key-value pairs, which is helpful but not beyond the schema's stated format. Since schema coverage is 100%, the baseline of 3 is appropriate; the example provides marginal value.

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?

The description clearly states the action ('Update WooCommerce settings') and the resource type. It distinguishes itself from sibling tools like wp_woocommerce_get_settings (which reads settings) and wp_set_options (which updates generic WordPress options) by specifying the WooCommerce scope. The example keys further clarify the intended use.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as wp_woocommerce_get_settings or wp_set_options. It does not mention any prerequisites (e.g., checking current settings first) or scenarios where a different tool would be more appropriate. The usage is only implied by the tool name and the example.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/THE-KIPDEV/wpagent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server