Skip to main content
Glama

Docflow Delete Category

docflow_delete_category

Delete a file category and its field configuration. Existing files keep extracted data, but future uploads no longer match this category.

Instructions

Delete a file category and its field configuration (POST /category/delete). WARNING: Existing files classified under this category retain their extracted data, but future uploads will not match this category.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
category_idYes
workspace_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the transparency burden and largely succeeds: it warns that existing files retain extracted data while future uploads will no longer match the category. It does not address reversibility or permission requirements, but the most important side effect is disclosed.

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 concise sentences: the first states the core operation, the second gives a high-value warning. There is no filler, and the most important behavioral caveat is front-loaded.

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?

Coverage is strong for a delete operation: it includes the affected resource and the data retention consequence, and an output schema exists to describe return values. Minor gaps remain around cascading effects and whether deletion is permanent, so it is not a perfect 5.

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 coverage is 0% and the description does not explain workspace_id or category_id beyond the operation itself. The parameter names are self-explanatory, but the description adds no semantic value for how to populate or validate them.

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 action (delete), a specific resource (file category), and an additional scope (its field configuration), which clearly distinguishes it from sibling tools like delete_category_fields or delete_files. The endpoint reference reinforces the operation.

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 description implies usage: call this to delete a category. It also gives a practical caveat about future uploads, but it does not explicitly say when to prefer this over amend_category, delete_category_fields, or update_category, nor does it provide alternative routing.

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