Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

get_container

Retrieve container details from RSpace to examine properties and optionally list contents, enabling efficient data inspection and management.

Instructions

Retrieves container information with optional content listing

Usage: Examine container properties and optionally see what's inside Performance: Set include_content=False for faster queries on large containers Returns: Container details and optionally contained items

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
container_idYes
include_contentNo

Implementation Reference

  • main.py:935-944 (handler)
    The handler function for the 'get_container' MCP tool. It is decorated with @mcp.tool for automatic registration and implements the tool logic by calling the underlying inv_cli.get_container_by_id method.
    @mcp.tool(tags={"rspace", "inventory", "containers"}) def get_container(container_id: Union[int, str], include_content: bool = False) -> dict: """ Retrieves container information with optional content listing Usage: Examine container properties and optionally see what's inside Performance: Set include_content=False for faster queries on large containers Returns: Container details and optionally contained items """ return inv_cli.get_container_by_id(container_id, include_content)
  • main.py:935-935 (registration)
    The @mcp.tool decorator registers the get_container function as an MCP tool with tags for categorization.
    @mcp.tool(tags={"rspace", "inventory", "containers"})

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