Skip to main content
Glama

Excluir categoria

delete_category
DestructiveIdempotent

Exclui uma categoria (ou subcategoria) permanentemente. Não há verificação de transações/orçamentos vinculados antes de excluir — não exclui em cascata subcategorias filhas.

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

Input Schema

NameRequiredDescriptionDefault
idYesID da categoria a excluir

Output Schema

NameRequiredDescriptionDefault
countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"ID da categoria a excluir"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already indicate destructive and idempotent behavior, but the description adds important non-obvious details: there is no verification of linked transactions/budgets before deletion, and child subcategories are not cascade-deleted. This goes beyond what annotations alone provide.

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?

The description is two short, purposeful sentences. The main behavior is front-loaded, and the critical caveats about linked data and subcategory handling are stated without unnecessary words.

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

Completeness4/5

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

For a one-parameter destructive operation with an output schema and strong annotations, the description covers the essential behavioral context: permanence, absence of validation, and non-cascade behavior. It does not explain what happens to orphaned subcategories, but the other structured information reduces that burden.

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?

The schema already covers the only parameter 'id' with a description, so the baseline is 3. The tool description confirms that the id may refer to a category or subcategory but does not add deeper semantic detail beyond the schema.

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 opens with 'Exclui uma categoria (ou subcategoria) permanentemente,' which clearly states the specific action, resource, and scope. It also clarifies that subcategories are included, distinguishing it from broader or sibling delete tools.

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?

The purpose statement makes it clear that this tool is used when a category or subcategory should be removed. However, it does not explicitly mention alternatives like update_category or create_category, nor does it state conditions for when this tool should not be used.

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.