Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

bulk_create_samples

Create multiple research samples simultaneously using batch processing to handle large datasets efficiently in RSpace.

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

  • Handler function for bulk_create_samples tool, decorated with @mcp.tool for automatic registration. Currently implemented as a stub with TODO for batch creation logic using RSpace inventory API.
    @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
  • main.py:1192-1192 (registration)
    The @mcp.tool decorator registers the bulk_create_samples function as an MCP tool with tags for categorization.
    @mcp.tool(tags={"rspace", "inventory", "utility"})

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