Skip to main content
Glama

finance

Categories: Delete category

delete_category
Destructive
    Delete a user-created category. System categories cannot be deleted.

    Args:
        category_id: The category ID to delete

    Returns:
        Confirmation of deletion
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
category_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the destructive nature is known. The description adds value beyond annotations by noting the system-category restriction and stating that a confirmation of deletion is returned. These are relevant behavioral details not present in the annotations.

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?

The description is compact and front-loaded with the action, and the system-category restriction is clearly stated early. The Args and Returns sections are mostly redundant with the schema, but the overall size is appropriately brief and readable.

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?

For a simple one-parameter destructive action, the description covers the core operation, the key restriction, and the return behavior. It does not mention failure modes, cascading effects on transactions, or error handling, leaving some uncertainty for an agent invoking deletion.

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%, so the description must compensate for the undocumented parameter, but it only restates 'category_id' as 'The category ID to delete' without adding real semantics. It does not explain how to obtain a valid user-created category ID, constraints, or why the ID might be invalid.

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 states a specific verb ('Delete a user-created category') and resource, and it explicitly scopes what can be deleted, distinguishing it from system categories. It also stands apart from siblings like create_category/update_category/list_categories. This is a clearly differentiated purpose.

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

Usage Guidelines4/5

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

The description gives useful usage context by specifying that system categories cannot be deleted, which implicitly tells the agent when not to call this tool. It does not name an alternative tool for renaming or hiding categories, but it provides a meaningful exclusion that helps route the call.

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