Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

bulk_create_samples

Create multiple research samples simultaneously in RSpace using batch processing for large datasets, providing efficient bulk sample creation with comprehensive error handling.

Instructions

Creates multiple samples efficiently in a single operation

Usage: High-performance sample creation for large datasets Performance: Much faster than individual create_sample calls Format: List of sample definition dictionaries

Note: Implementation should use batch API endpoints when available Returns: Results for all created samples with error handling

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sample_definitionsYes

Implementation Reference

  • The handler function for the 'bulk_create_samples' tool, decorated with @mcp.tool for automatic registration in the FastMCP server. The function signature defines the input as a list of sample definition dictionaries and output as a dict. Currently, it is a stub implementation with a TODO comment indicating that bulk creation logic needs to be added using batch API endpoints.
    @mcp.tool(tags={"rspace", "inventory", "utility"}) def bulk_create_samples(sample_definitions: List[dict]) -> dict: """ Creates multiple samples efficiently in a single operation Usage: High-performance sample creation for large datasets Performance: Much faster than individual create_sample calls Format: List of sample definition dictionaries Note: Implementation should use batch API endpoints when available Returns: Results for all created samples with error handling """ # TODO: Implement bulk creation logic # This would use batch endpoints or optimized iteration # depending on what the RSpace API supports pass

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