Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

get_sample

Retrieve complete metadata, location details, and subsample information for a specific sample from RSpace research data using its unique identifier.

Instructions

Retrieves complete information about a specific sample

Usage: Get detailed sample metadata, location, and subsample information Parameters: sample_id can be numeric ID or global ID (e.g., "SA12345") Returns: Full sample details including all subsamples

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sample_idYes

Implementation Reference

  • main.py:778-788 (handler)
    The MCP tool 'get_sample' handler function. Decorated with @mcp.tool for automatic registration. Retrieves sample details by ID using the inventory CLI client.
    @mcp.tool(tags={"rspace", "inventory", "samples"}) def get_sample(sample_id: Union[int, str]) -> dict: """ Retrieves complete information about a specific sample Usage: Get detailed sample metadata, location, and subsample information Parameters: sample_id can be numeric ID or global ID (e.g., "SA12345") Returns: Full sample details including all subsamples """ return inv_cli.get_sample_by_id(sample_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