Skip to main content
Glama
kuklaph
by kuklaph

Protect Cascade Sites From Removal

cascade_protect_site_removal
DestructiveIdempotent

Persist blocked-call rules to protect Cascade sites and root folders from removal. Blocks removal for accessible sites and readable root folders, updating rules without affecting unrelated ones.

Instructions

Persist generated blocked-call rules that prevent removal of accessible Cascade sites and their root folders.

The tool lists accessible sites, blocks cascade_remove by site id and site name/path, then tries to read each site's root folder at "/". Readable root folders are blocked by id, and path "/" is always included to block path-based root-folder removal. Existing generated rules from this tool are replaced instead of duplicated; unrelated rules are preserved.

Returns a report with protected site count, protected root-folder id count, unreadable root folders, the block-store path, and final rule count. Responses are JSON text; structuredContent is authoritative when the response fits. Oversized responses return bounded _cache metadata for cascade_read_response. For cascade_read, read_mode controls preview versus raw Cascade payload shape.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

The description adds significant behavioral context beyond annotations: it replaces existing generated rules, preserves unrelated rules, and details the return report and response handling. No contradiction with annotations.

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 well-structured, front-loaded with purpose, then details mechanics, return format, and edge cases. Every sentence adds value without redundancy.

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

Completeness5/5

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

With no output schema, the description fully explains the return value and handles edge cases like oversized responses. It covers all necessary aspects for a zero-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so baseline is 4. The description does not need to explain parameters.

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 clearly states the tool persists blocked-call rules to prevent removal of Cascade sites and root folders. It uses specific verbs and resources, distinguishing it from sibling tools like cascade_remove or cascade_tool_blocks.

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 implies usage for protecting sites from removal by describing the blocking mechanism. However, it lacks explicit guidance on when not to use or direct comparisons with alternatives like cascade_tool_blocks.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kuklaph/cascade-cms-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server