Skip to main content
Glama

Frontman for WordPress

wc_create_product_review

Destructive

Creates a WooCommerce product review. Mirrors woocommerce-mcp-server method create_product_review using local WordPress authentication; no WooCommerce REST API keys are required.

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": {
      "site_id": "<site_id>",
      "productId": "<productId>",
      "reviewData": "<reviewData>"
    },
    "name": "wc_create_product_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID.
productIdYesOptional product ID. When omitted, uses the global product reviews endpoint.
reviewDataYesProduct review fields to create.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds genuinely useful context the annotations cannot convey: it uses local WordPress authentication, so no WooCommerce REST API keys are needed, which shapes setup expectations. It still omits what state is written (e.g. default review status) and what the response contains.

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 tight sentences, with the action front-loaded and the authentication detail as supporting context. Slightly expendable is the reference to mirroring the underlying woocommerce-mcp-server method, which is implementation trivia rather than agent-facing guidance.

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 mutation tool with no output schema and a free-form nested reviewData object (empty properties, additionalProperties=true), the description should name expected review fields such as reviewer, rating, content, or status. Nothing in the description or schema documents what keys to supply, leaving the agent to guess.

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 100%, so the schema carries parameter documentation and baseline 3 applies. The description adds no field-level meaning for reviewData, and does not resolve the schema's internal tension where productId is marked required yet described as "Optional product ID."

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 ("Creates a WooCommerce product review"), which immediately distinguishes it from the get/update/delete review siblings. It does not explicitly name those siblings as alternatives, but the create semantics are unambiguous.

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?

There is no guidance on when to create versus update an existing review, nor on prerequisites such as required capabilities or review moderation status. The only conditional hint (call list_sites first) lives in the schema, not the description.

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.