Skip to main content
Glama
Degree-AS
by Degree-AS

dw_product_category_save

Create or update a DynamicWeb product category to group attribute fields. Set isNew to true for creation, false for updates.

Instructions

Create or update a DynamicWeb product category (group of attribute fields). Set isNew: true to create, false to update an existing one. Category fields are added separately via dw_product_field_save with this category's id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPascalCase identifier, e.g. 'TechSpecs'. Used as CategoryId on fields.
nameYesHuman-readable name shown in DW Admin
categoryTypeNo'categoryFields' (default) for product category fieldscategoryFields
isNewNo
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses it is a save operation (create/update) but does not mention side effects, error handling, or permissions. Minimal behavioral disclosure but adequate for a typical save.

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?

Two sentences with no fluff, front-loading the core purpose. Every sentence earns its place, making it efficient for an agent to parse.

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 no output schema and simple parameters, the description is complete enough. It covers main usage and links to related tool for field addition. Could mention return values, but not critical.

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?

The description adds value by clarifying isNew parameter usage ('set isNew: true to create') and explaining that id is used as CategoryId on fields, which goes beyond schema descriptions. Schema coverage is 75%, so description compensates well.

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 it creates or updates a DynamicWeb product category, using verbs 'Create or update'. It distinguishes from siblings like dw_product_category_list and dw_product_category_delete by focusing on save operation, and mentions separate field addition via dw_product_field_save.

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 explains when to use create vs. update via the isNew flag, and indicates that category fields are added separately. It does not explicitly state when not to use, but the context is clear.

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/Degree-AS/degree-dynamicweb-mcp'

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