Skip to main content
Glama
codename-generator

codename-generator

by funky-ai

create_category

Creates a category for a bilingual codename inventory, enforcing unique sibling slugs and a three-level depth cap; pass a parent ID to add a child category.

Instructions

Create a new category. Depth is capped at 3; sibling slugs must be unique. Pass parent_category_id to create a child, or omit for a top-level category.

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": {
      "slug": "<slug>",
      "name_en": "<name_en>",
      "name_zh": "<name_zh>"
    },
    "name": "create_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
name_enYes
name_zhYes
operatorNosystem
sort_orderNo
parent_category_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses two hard constraints (depth capped at 3, sibling slugs unique) that an agent would otherwise discover only via failure, but says nothing about permissions/authorization, what happens to invalid input, or irreversibility of creation.

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?

Three short sentences, purpose first, then invariants, then the parent/child decision. Every clause carries information an agent needs; nothing is repeated from the schema.

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?

An output schema exists, so return values need not be explained. However, for a 6-parameter creation tool with no annotations and 0% schema coverage, more detail on the unexplained fields and on failure behavior is needed before the definition is self-sufficient.

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

Parameters2/5

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

Schema description coverage is 0% with 6 parameters. The description explains parent_category_id (child vs. top-level, default null) and the uniqueness rule for slug, but leaves name_en/name_zh (presumably localized names), operator (default 'system'), and sort_order completely undecoded, which is a large gap for an agent filling this payload.

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 and resource ('Create a new category') that is clearly distinguishable from update_category, delete_category, and list_categories by verb alone. It does not explicitly name a sibling, but the operation is unambiguous.

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?

Gives concrete conditional guidance for the key decision: pass parent_category_id for a child, omit it for a top-level category. It does not say when to prefer this over update_category or describe prerequisites (e.g., parent must already exist), so usage is implied rather than fully framed.

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