Skip to main content
Glama

create_inventory_category

Creates a new inventory category under a specified parent, defaulting to the root. Prevents duplicate names under the same parent.

Instructions

Create an inventory category. Defaults parentCategory to the Inventory root. Rejects duplicate category names under the same parent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesa string that will be trimmed
parentCategoryNoa string that will be trimmed

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesThe successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent.
warningsNoOptional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload.
Behavior4/5

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

Annotations already indicate this is a write operation (readOnlyHint=false). The description adds valuable behavioral details: defaulting parentCategory to root and rejecting duplicate names under the same parent. However, it omits permissions, rate limits, or process-specific outcomes beyond these.

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 concise sentences, each adding distinct value: main purpose, default behavior, and constraint. No extraneous information; front-loaded with the essential action.

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 the low complexity (2 params, 1 required) and presence of an output schema, the description covers key functional aspects. It could be slightly improved by mentioning the expected success response (e.g., returns created category), but is largely complete.

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

Parameters5/5

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

Schema description coverage is 100%, but the description goes beyond the schema by explaining the default behavior for 'parentCategory' (defaults to Inventory root) and the duplicate rejection policy for 'name'. This adds significant meaning beyond the schema's 'trimmed string' definition.

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'), the resource ('inventory category'), and adds defining behaviors like defaulting parentCategory and rejecting duplicates. It distinguishes from siblings like 'create_inventory_product' or 'create_issue'.

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

Usage Guidelines3/5

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

While the description implies when to use this tool (creating a category), it does not explicitly contrast with alternatives like 'update_inventory_category' or 'delete_inventory_category'. No 'when-not-to-use' or prerequisite information is provided.

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/dearlordylord/huly-mcp'

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