Skip to main content
Glama

Turn data room folders on or off

set_room_folders_enabled
Idempotent

Turn folders on or off for a data room (off by default). Turning them off deletes the room's folders; their documents stay in the room at the top level.

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>",
      "enabled": "<enabled>"
    },
    "name": "set_room_folders_enabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes
data_room_idYesData room id (from list_data_rooms)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

The description carries real behavioral weight beyond the annotations: it discloses the side effect of turning folders off (folders are deleted) and, crucially, that the documents survive at the room's top level — a non-obvious consequence an agent could not infer from the schema. This also reconciles with destructiveHint=false, since document data is not lost, though the folder structure itself is not recoverable and the description does not say whether re-enabling recreates prior folders.

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 short sentences, zero filler, and the most consequential fact (deletion on turn-off) is stated immediately after the main action. Nothing could be removed without losing information.

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 toggle with no output schema, the side-effect disclosure is the essential missing piece and it is present. Still absent are guidance relative to the sibling set_subfolders_enabled, whether re-enabling restores deleted folders, and permission/precondition notes, which matter for a structurally destructive toggle.

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 50%: data_room_id is documented in the schema, while the enabled boolean has no schema description. The description partially compensates by framing the operation as on/off and stating the default, but it does not spell out the value-to-outcome mapping (enabled=true creates folders, false deletes them) or any preconditions on data_room_id.

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?

The description names a specific verb (turn on/off) and resource (folders in a data room), plus the default state, so an agent knows exactly what the call does without reading the schema. It stops short of differentiating itself from the closely-related set_subfolders_enabled sibling, which is the one plausible confusion an agent could have.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says when folder organization should be enabled, whether enabling is a prerequisite for creating folders/subfolders, or that set_subfolders_enabled governs the related but distinct subfolder feature. The only contextual hint is the parenthetical '(off by default)'.

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