Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

create_product_category

Create a product category to give category pages content and allow products to be filed under it. Returns the new category ID for linking products.

Instructions

Create a product category (so grid-category / a category page has something to show, and products can be filed under it). Returns the new category id — pass it to create_product's category_ids. Image must be a hosted URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCategory name
imageNoHosted image URL for the category card
parent_idNoParent category id for a sub-category
descriptionNoCategory description
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses a key behavioral trait (returns the new category id) and a constraint (image must be a hosted URL), but does not mention potential side effects, required permissions, or error cases. This is adequate but not rich.

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 two well-structured sentences. The first states the purpose and the second provides the return value and a key constraint. Every word earns its place, with no redundancy or filler.

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?

Given there is no output schema, the description appropriately discloses the return value (category id) and its intended use. It also explains the purpose and the image constraint, covering the essential information for a simple create tool. A minor gap is not explaining potential validation errors or parent_id prerequisites, but overall it is fairly complete.

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 baseline is 3. The description adds no new parameter information beyond the schema; the 'Image must be a hosted URL' note duplicates the schema's 'Hosted image URL' description. No additional semantics are provided.

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 ('Create a product category') and the specific resource, distinguishing it from sibling tools like create_blog_category and update_product_category. It also explains the purpose ('so grid-category / a category page has something to show, and products can be filed under it'), adding specificity.

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 provides context on when to use the tool, such as needing categories for category pages or to file products, and explicitly instructs to pass the returned id to create_product's category_ids. However, it does not explicitly mention when not to use it (e.g., for blog categories) or name alternatives, but the context is clear enough.

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/vuluu2k/webcake-storefront-mcp'

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