Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

get_container

Retrieve container details from RSpace research data, with option to list contained items for comprehensive examination of research materials.

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-945 (handler)
    The MCP tool handler for 'get_container'. This function is decorated with @mcp.tool, defining the tool's inputs, docstring description, and core logic that delegates to the RSpace inventory client's 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:61-67 (schema)
    Pydantic BaseModel defining the expected structure and fields for container metadata, used in the output of inventory container tools including get_container.
    class Container(BaseModel): """Inventory container metadata""" name: str = Field(description="Container name") globalId: str = Field(description="Global identifier") cType: str = Field(description="Container type (LIST, GRID, WORKBENCH, IMAGE)") capacity: Optional[int] = Field(description="Container capacity if applicable")

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