Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

get_sample_template

Retrieve detailed sample template structure and field specifications to examine before creating samples in RSpace research data management.

Instructions

Retrieves detailed information about a sample template

Usage: Examine template structure before using for sample creation Returns: Complete template definition including field specifications

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_idYes

Implementation Reference

  • The handler function for the 'get_sample_template' MCP tool, decorated with @mcp.tool for automatic registration. It takes a template_id (int or str) and returns the template details by calling inv_cli.get_sample_template_by_id(template_id). The docstring provides usage information serving as informal schema documentation.
    @mcp.tool(tags={"rspace", "inventory", "templates"}) def get_sample_template(template_id: Union[int, str]) -> dict: """ Retrieves detailed information about a sample template Usage: Examine template structure before using for sample creation Returns: Complete template definition including field specifications """ return inv_cli.get_sample_template_by_id(template_id)

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