Skip to main content
Glama

Delete a data room folder

delete_room_folder
DestructiveIdempotent

Delete a folder of a data room. Its documents stay in the room (at the top level) – nothing is removed from the room or deleted.

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": {
      "data_room_id": "<data_room_id>",
      "room_folder_id": "<room_folder_id>"
    },
    "name": "delete_room_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
data_room_idYesData room id (from list_data_rooms)
room_folder_idYesData room folder id (from list_room_folders)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description does not need to restate danger. It adds genuinely new behavior: the folder's documents survive at the top level of the room, which tells the agent called effects are structural rather than content-destroying — important context for deciding whether confirmation is needed.

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 followed immediately by the consequence. No filler, no repetition of the title, and the most decision-relevant fact (documents are preserved) is stated second where it reads naturally.

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

Completeness3/5

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

For a two-parameter destructive tool it covers the key semantic question (what happens to the contents), but leaves open what happens to nested subfolders, whether the call returns anything, and whether folders must be emptied first. With no output schema, the description should say more about the result.

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 both parameters already document their source tools (list_data_rooms, list_room_folders). The description adds nothing about the parameters, but with full schema coverage 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?

Names a specific verb and resource ('Delete a folder of a data room') and immediately qualifies the outcome. An agent can distinguish it from delete_data_room at a basic level, though the description never mentions delete_subfolder, which is the closest ambiguous sibling for nested folder hierarchies.

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?

Usage is implied by the resource ('folder of a data room'), but there is no explicit when-to-use or when-not-to-use guidance, no prerequisites, and no routing to delete_subfolder versus delete_data_room. The agent must infer selection from the sibling names.

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.

Resources