Skip to main content
Glama

Remove documents from a data room

remove_room_documents
DestructiveIdempotent

Take documents out of a data room (by document_ids or room_link_ids). The files stay in their folders.

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

Input Schema

NameRequiredDescriptionDefault
data_room_idYesData room id (from list_data_rooms)
document_idsNoDocument ids
room_link_idsNoRoom document ids (room_link_id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, so the safety profile is covered. The description adds genuinely new behavior: removal does not delete the underlying files, which is exactly the distinction an agent needs before invoking a destructive tool. It stops short of saying whether removal is reversible or how partial failures are reported.

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 tight sentences with zero padding. The core action and its addressing modes come first, and the non-obvious file-retention caveat is placed immediately after where it will be read.

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?

For a three-parameter, non-open-world tool with full schema coverage, rich annotations, and no output schema, the definition covers what an agent needs to select and call it. The remaining gap is minor: it never states that one of document_ids or room_link_ids must be provided.

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 description coverage is 100%, so all three parameters are already documented, including that data_room_id comes from list_data_rooms. The description's only added meaning is that document_ids and room_link_ids are alternative addressing paths, without stating whether at least one is required or how they interact if both are passed; baseline 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: taking documents out of a data room, with the two selection modes (document_ids or room_link_ids) named. Together with the sibling note that the files remain in their folders, an agent can distinguish this from delete-style operations and from add_room_documents or move_room_documents, though no sibling is named explicitly.

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?

The parenthetical '(by document_ids or room_link_ids)' implies the two addressing modes and the clause about files staying in folders hints that this is an unlink rather than a delete. There is no explicit when-to-use versus when-to-use-something-else guidance and no statement of prerequisites (e.g. permission requirements) or what happens when neither id list is supplied.

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