Skip to main content
Glama

Cleanup Deleted Blobs

cleanup_blobs
Destructive

Permanently releases deleted blobs in an AFFiNE workspace after you confirm the workspace ID, removing them from storage once they are no longer needed.

Instructions

Permanently release blobs that were already marked deleted in a workspace. This is destructive cleanup and should be used only after confirming deleted blobs are no longer needed.

Input Schema

NameRequiredDescriptionDefault
workspaceIdYesAFFiNE workspace id whose deleted blobs should be released.
confirmWorkspaceIdYesMust exactly match workspaceId to confirm permanent blob cleanup.

Output Schema

NameRequiredDescriptionDefault
okNo
codeNo
kindNo
errorNo
statusNo
detailsNo
successNo
causeCodeNo
retryableNo
workspaceIdNo
blobsReleasedNo
recoveryGuidanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.10.2

TDQS

A4/5.0
Behavior4/5

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

The destructiveHint annotation already declares the safety profile, but the description adds meaningful context: the operation is permanent, applies only to already-deleted blobs, and requires prior confirmation. It stops short of describing whether the release is reversible or what errors occur on mismatched confirmation.

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 sentences, front-loaded with the action and scope, followed by the destructive-use caution. Every clause earns its place with no repetition or filler.

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?

With an output schema, full parameter descriptions, and rich annotations, the description supplies the essential missing nuance: permanence and the confirmation precondition. The only gap is not routing the agent away from delete_blob/upload_blob in sibling-heavy context.

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?

Schema coverage is 100%, and the schema already explains workspaceId and the exact-match requirement for confirmWorkspaceId. The description adds no parameter-level detail beyond what the schema provides, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: permanently release blobs that were already marked deleted, scoped to a workspace. The phrase 'already marked deleted' implicitly distinguishes it from delete_blob (which presumably performs the marking), but it never names that sibling explicitly.

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?

Provides a clear precondition and caution: use only after confirming the deleted blobs are no longer needed, and it must be destructive cleanup. It does not explicitly contrast with delete_blob or upload_blob, so the exclusion guidance is implied rather than stated.

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

Deploy Server

Other Tools