Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

create_grid_container

Create grid-based containers for organizing lab samples and materials with precise positioning. Define dimensions like 8x12 for 96-well plates to structure microplates, freezer boxes, and position-specific storage systems.

Instructions

Creates a grid-based container with specific positioning

Usage: Create microplates, freezer boxes, or other position-specific storage Dimensions: Define exact grid size (e.g., 8x12 for 96-well plate) Positioning: Items placed at specific coordinates (row, column)

Returns: Created container information with grid specifications

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
rowsYes
columnsYes
descriptionNo
tagsNo
can_store_containersNo
can_store_samplesNo
parent_container_idNo

Implementation Reference

  • main.py:897-932 (handler)
    The primary handler implementation for the create_grid_container MCP tool. This function is decorated with @mcp.tool for automatic registration and wraps the RSpace inventory client to create grid-based containers (e.g., microplates) with specified dimensions, tags, and storage permissions.
    @mcp.tool(tags={"rspace", "inventory", "containers"}) def create_grid_container( name: str, rows: int, columns: int, description: str = None, tags: List[str] = None, can_store_containers: bool = True, can_store_samples: bool = True, parent_container_id: Union[int, str] = None ) -> dict: """ Creates a grid-based container with specific positioning Usage: Create microplates, freezer boxes, or other position-specific storage Dimensions: Define exact grid size (e.g., 8x12 for 96-well plate) Positioning: Items placed at specific coordinates (row, column) Returns: Created container information with grid specifications """ tag_objects = i.gen_tags(tags) if tags else [] location = i.TopLevelTargetLocation() if parent_container_id: location = i.ListContainerTargetLocation(parent_container_id) return inv_cli.create_grid_container( name=name, row_count=rows, column_count=columns, description=description, tags=tag_objects, can_store_containers=can_store_containers, can_store_samples=can_store_samples, location=location )

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/rspace-os/rspace-mcp'

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