Skip to main content
Glama
codename-generator

codename-generator

by funky-ai

delete_category

Deletes a category only when no codenames reference it and no active subcategories remain, preventing orphaned or invalid codename data.

Instructions

Delete a category. Refused if any codenames still reference it or any non-archived subcategories exist underneath.

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": {
      "category_id": "<category_id>"
    },
    "name": "delete_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
operatorNosystem
category_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose the key guardrail: deletion is refused when codenames or non-archived subcategories still depend on the category. It stops short of stating whether deletion is irreversible/permanent or what permissions the operator needs, which are the other traits an agent would want to know before a destructive call.

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 short sentences, action first and constraint second, with no filler. Every clause contributes either the operation or a precondition.

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 described, and the guardrail clause covers the main risk of this simple one-required-param tool. The gaps are the undocumented operator parameter and the absence of any note on permanence or permissions.

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% for both parameters, so the description must compensate and does not. It never explains category_id beyond the obvious, and the 'operator' parameter (defaulting to 'system') is not mentioned at all, leaving the agent with no idea what it controls or when to set it.

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?

The description uses a specific verb and resource ('Delete a category'), which cleanly separates it from create_category, update_category, and get_category_tree. It doesn't explicitly name a sibling or scope boundary, so it lands just below the top of the scale.

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?

Usage is implied by the verb, and the refusal clause tells the agent what conditions must already hold (no referencing codenames, no non-archived subcategories). However, it never says what to do instead when refused, nor which sibling tools would resolve the blockers, leaving the agent to infer the remediation path.

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