Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

list_samples

Browse and search research samples in RSpace inventory with pagination and sorting options to organize your sample collection effectively.

Instructions

Lists samples in the inventory with pagination and sorting

Usage: Browse sample collection, find recent additions Sorting: Options include "lastModified", "name", "created" Returns: Paginated list of sample metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_sizeNo
order_byNolastModified
sort_orderNodesc

Implementation Reference

  • main.py:790-801 (handler)
    The handler function for the 'list_samples' MCP tool. Decorated with @mcp.tool for automatic registration. Implements pagination and sorting by calling the inv_cli.list_samples method.
    @mcp.tool(tags={"rspace", "inventory", "samples"}) def list_samples(page_size: int = 20, order_by: str = "lastModified", sort_order: str = "desc") -> dict: """ Lists samples in the inventory with pagination and sorting Usage: Browse sample collection, find recent additions Sorting: Options include "lastModified", "name", "created" Returns: Paginated list of sample metadata """ pagination = i.Pagination(page_size=page_size, order_by=order_by, sort_order=sort_order) return inv_cli.list_samples(pagination)
  • main.py:790-790 (registration)
    The @mcp.tool decorator registers the list_samples function as an MCP tool with tags for categorization.
    @mcp.tool(tags={"rspace", "inventory", "samples"})

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