transkribus_coll_delete_empty
Delete a collection only if it is empty.
This record as markdown: /tools/io-github-lazyants-transkribus/transkribus-coll-delete-empty.md
What transkribus_coll_delete_empty does on Transkribus
AI agents call transkribus_coll_delete_empty to permanently remove resources in Transkribus, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
Why transkribus_coll_delete_empty is rated Critical
The tool performs an irreversible deletion operation on a collection resource. Even though it includes a guard condition (only if empty), the core action is destructive — once executed, the collection and its metadata are permanently removed and cannot be recovered through normal API operations. This qualifies as Destructive rather than Write.
From the tool's definition Tool name explicitly contains 'delete' and description states 'Delete a collection'. This is an irreversible removal of data.
Attacks that exploit this kind of access
The rule that runs transkribus_coll_delete_empty safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Transkribus, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For transkribus_coll_delete_empty, this is the rule to start with:
transkribus_coll_delete_empty is removed from the agent's tool list entirely, so the agent never calls it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Transkribus, apply this rule, and every transkribus_coll_delete_empty call is checked against it from then on.
Questions about transkribus_coll_delete_empty
Delete a collection only if it is empty. It is categorised as a Destructive tool in the Transkribus MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the Transkribus MCP server in PolicyLayer and add a rule for transkribus_coll_delete_empty: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Transkribus. Nothing to install.
transkribus_coll_delete_empty is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the transkribus_coll_delete_empty rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for transkribus_coll_delete_empty. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
transkribus_coll_delete_empty is provided by the Transkribus MCP server (@lazyants/transkribus-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Transkribus, and thousands of servers like it.
Across the catalogue