Skip to main content
Glama

Delete a category

delete_category
Idempotent

Use this when the user wants a category deleted. The card must then be confirmed on aiguild.me. Do not use for a single channel; use delete_channel. Adds the change to the pending card for this server; nothing changes on Discord until apply_card.

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

Input Schema

NameRequiredDescriptionDefault
categoryYesThe category name.
guild_idYesDiscord server ID, as returned by list_my_servers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations declare destructiveHint=false on a delete-named tool, which would otherwise look wrong; the description resolves it by explaining the operation is only staged into a pending card and 'nothing changes on Discord until apply_card', plus the aiguild.me confirmation step. This is exactly the kind of behavioral context the structured fields cannot carry.

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?

Four short sentences ordered as trigger, requirement, exclusion, and consequence. Every sentence carries distinct routing or behavioral information with no padding.

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

Completeness5/5

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

The tool is a simple two-parameter mutation with no output schema, and the description still covers the full lifecycle: staging, off-site confirmation, and eventual application. An agent has everything needed to call it and to tell the user what happens next.

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?

Schema coverage is 100%, so baseline would be 3, but the description adds scope meaning by tying the change to 'this server' and 'the pending card for this server', reinforcing that guild_id selects the target guild's card. It does not clarify category-name matching semantics, but the schema already documents both parameters.

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?

States a specific verb and resource ('a category deleted') and explicitly routes away from the nearest look-alike ('Do not use for a single channel; use delete_channel'). An agent can distinguish this from delete_channel and delete_role without opening any schema.

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

Usage Guidelines5/5

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

Gives the triggering condition ('when the user wants a category deleted'), an explicit exclusion with the correct alternative (delete_channel), and names the required follow-up (apply_card). Nothing about when to select this tool is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources