Skip to main content
Glama

Add documents to a data room

add_room_documents

Add documents from the user's folders to a data room, optionally straight into one of its folders (room_folder_id). The files stay in their folders. When the room sends e-mail notifications, its guests get one e-mail about the new documents.

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

Input Schema

NameRequiredDescriptionDefault
data_room_idYesData room id (from list_data_rooms)
document_idsYesDocument ids (from list_documents / search)
room_folder_idNoData room folder id (from list_room_folders)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish that this is a non-readonly, non-destructive, non-idempotent, open-world operation. The description adds useful behavior beyond that: files remain in their original folders rather than being moved, and guests receive a single notification e-mail for the newly added documents.

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?

Three short sentences, front-loaded with the core action and destination, followed by retention and notification details. Every sentence carries useful information and there is 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?

For a three-parameter mutation tool with no output schema and annotations covering safety traits, the description covers the essential behavior: what is added, optional folder placement, retention, and notification side effects. Minor gaps remain around permissions and duplicate handling, but the core decision and invocation context is complete.

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?

Schema coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by clarifying that room_folder_id is optional and places the documents directly into a specific room folder, and by noting that the added documents originate from the user's existing folders and remain there.

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 states a specific verb and resource: adding documents from the user's folders to a data room, optionally into a room folder. The sentence 'The files stay in their folders' distinguishes this from move-based siblings such as move_room_documents and move_documents_to_subfolder.

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 context implies when to use it: adding documents from the user's own folders into a room. However, it never explicitly names alternatives or exclusions, such as when to use add_offer_files or move_room_documents instead, leaving the agent to infer routing.

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