Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

create_sample_template

Create reusable templates for sample generation with predefined field structures, default values, and validation constraints to standardize research data entry in RSpace.

Instructions

Creates a reusable template for sample creation

Usage: Standardize sample creation with predefined fields and validation Template data: Define field structure, default values, and constraints Returns: Created template information for future sample generation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_dataYes

Implementation Reference

  • This is the main handler function for the MCP tool 'create_sample_template'. It is decorated with @mcp.tool for automatic registration and implements the tool logic by calling the underlying RSpace inventory client method.
    @mcp.tool(tags={"rspace", "inventory", "templates"}) def create_sample_template(template_data: dict) -> dict: """ Creates a reusable template for sample creation Usage: Standardize sample creation with predefined fields and validation Template data: Define field structure, default values, and constraints Returns: Created template information for future sample generation """ return inv_cli.create_sample_template(template_data)

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