Skip to main content
Glama
box-community

MCP Server Box

box_collaboration_file_user_by_user_login_tool

Share files with specific users by email, assign access roles, set expiration dates, and control visibility in shared folders.

Instructions

Create a collaboration on a file with a user specified by user login (email). Args: client (BoxClient): Authenticated Box client. file_id (str): The ID of the file to collaborate on. user_login (str): The login (email) of the user to collaborate with. role (str): The role to assign to the collaborator. Default is "editor". Available roles are editor, viewer, previewer, uploader, viewer_uploader, co-owner. is_access_only (Optional[bool]): If set to true, collaborators have access to shared items, but such items won't be visible in the All Files list. Additionally, collaborators won't see the path to the root folder for the shared item. expires_at (Optional[DateTime]): The expiration date of the collaboration. notify (Optional[bool]): Whether to notify the collaborator via email. Returns: Dict[str, Any]: Dictionary containing collaboration details or error message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes
user_loginYes
roleNoeditor
is_access_onlyNo
expires_atNo
notifyNo
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions the tool creates a collaboration and describes some parameter effects (e.g., is_access_only hides items from All Files list), but doesn't cover critical behavioral aspects like required permissions, error conditions, rate limits, or whether this is a mutating operation. The return type is mentioned but not what success/failure looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with purpose statement followed by Args and Returns sections. Every sentence adds value, though the description is moderately long (7 sentences). The front-loaded purpose statement is clear, and the parameter explanations are necessary given the 0% schema coverage.

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 6-parameter mutation tool with no annotations and no output schema, the description covers parameters well but lacks behavioral context about permissions, errors, and collaboration lifecycle. It mentions the return type but not what the dictionary contains. Given the complexity, it's adequate but has clear gaps in operational guidance.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by explaining all 6 parameters in detail: file_id ('The ID of the file to collaborate on'), user_login ('The login (email) of the user'), role (default, available values), is_access_only (effect on visibility), expires_at (purpose), and notify (email notification). It adds significant meaning beyond the bare schema.

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 'Create a collaboration on a file with a user specified by user login (email)', which provides a specific verb ('Create'), resource ('collaboration on a file'), and distinguishes from siblings like box_collaboration_file_user_by_user_id_tool (which uses user ID instead of login) and box_collaboration_folder_user_by_user_login_tool (which targets folders instead of files).

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 description implies usage through the parameter explanations (e.g., 'user specified by user login'), but doesn't explicitly state when to use this tool versus alternatives like box_collaboration_file_user_by_user_id_tool or box_collaboration_folder_user_by_user_login_tool. No explicit when-not-to-use guidance or prerequisites are provided.

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/box-community/mcp-server-box'

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