Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

get_sample_template

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

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 get_sample_template tool handler, automatically registered via @mcp.tool decorator. It takes a template_id (int or str) and returns the template details by delegating to inv_cli.get_sample_template_by_id.
    @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)
  • main.py:1093-1093 (registration)
    Registration of the get_sample_template tool using the @mcp.tool decorator, which handles automatic tool discovery and exposure in FastMCP framework.
    @mcp.tool(tags={"rspace", "inventory", "templates"})

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