Skip to main content
Glama

ordercloud.categories.create

Creates a new category in an OrderCloud catalog, including ID, name, and optional parent for nesting.

Instructions

Create a new category in an OrderCloud catalog

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": {
      "catalogId": "<catalogId>",
      "category": "<category>"
    },
    "name": "ordercloud.categories.create"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesCategory object to create
catalogIdYesThe catalog ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and discloses very little: nothing about required permissions, whether the new category is immediately active, what happens on duplicate ID, or what the call returns. It only restates the mutation itself, which the verb already implies.

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?

A single front-loaded sentence with zero wasted words. It is efficient, though its brevity is partly the source of the missing guidance rather than a strength in itself.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with a nested object parameter, no annotations, and no output schema, the description is too thin. It should at least indicate the return value (the created category), uniqueness/conflict behavior, and prerequisites, none of which are covered elsewhere.

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%, including per-field descriptions for ID, Name, ParentID, and the nested category object, so the schema does the heavy lifting. The description adds no additional parameter meaning such as catalog scoping rules or how ParentID affects nesting.

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 ("Create") and resource ("category") scoped to an OrderCloud catalog, which clearly separates it from the delete/get/patch/search category siblings. It stops short of naming or contrasting any sibling explicitly.

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?

Provides no when-to-use guidance, no preconditions (e.g., catalog must exist, ID must be unique), and no mention of alternatives such as an update tool for existing categories. The agent must infer usage entirely from the name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools