Skip to main content
Glama
AmitGurbani

mcp-server-woocommerce

by AmitGurbani

create_category

Create a product category in WooCommerce. Set a parent ID to create subcategories.

Instructions

Create a product category. Set parent ID to create a subcategory. Categories are hierarchical.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCategory name
slugNoCategory slug
imageNoCategory image URL
fieldsNoComma-separated fields to return in response
parentNoParent category ID
descriptionNoCategory description
Behavior3/5

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

The description adds meaningful behavioral context by explaining that categories are hierarchical and that parent ID enables subcategory creation, which goes beyond the minimal annotation (openWorldHint: false). However, it does not disclose potential side effects, error conditions, or authentication requirements. Given the sparse annotation, the description carries some but not rich behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three short sentences, front-loaded with the primary purpose and no filler. Each sentence adds relevant information: the action, the key parameter behavior, and the overall hierarchical model. It is concise and well-structured.

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 create tool with 6 parameters (including a nested object), no output schema, and minimal annotations, the description is adequate but not complete. It covers the hierarchical nature but leaves out expected response format, validation constraints, or error handling. The hierarchy detail helps, but there are clear gaps for a mutation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for all 6 parameters, so the baseline is 3. The description adds semantic value by explicitly connecting the 'parent' parameter to subcategory creation, clarifying its purpose beyond the schema's bare 'Parent category ID'. This extra help justifies a score above baseline.

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 uses a specific verb 'Create' with a clear resource 'product category', immediately distinguishing it from sibling tools like list_categories, get_category, update_category, and delete_category. The additional note about subcategories further clarifies its unique role in managing hierarchical categories.

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

Usage Guidelines4/5

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

The description clearly indicates when to use this tool (to create a category or subcategory) and provides a key usage detail: setting parent ID for subcategories. It does not explicitly exclude other scenarios or name alternatives, but the context is clear enough for a create operation.

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/AmitGurbani/mcp-server-woocommerce'

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