get_container_summary
Retrieve container metadata like name, type, and capacity without loading full content for faster information lookup in RSpace research data management.
Instructions
Retrieves container metadata without content for fast queries
Usage: Quick container information lookup without performance impact Performance: Avoids loading large content lists for better response times Returns: Container metadata only (name, type, capacity, etc.)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes |
Implementation Reference
- main.py:1167-1177 (handler)The handler function for the 'get_container_summary' tool. It is decorated with @mcp.tool for automatic registration in the FastMCP server. The function retrieves container metadata from the RSpace inventory client without including content for performance reasons.@mcp.tool(tags={"rspace", "inventory", "utility"}) def get_container_summary(container_id: int | str) -> dict: """ Retrieves container metadata without content for fast queries Usage: Quick container information lookup without performance impact Performance: Avoids loading large content lists for better response times Returns: Container metadata only (name, type, capacity, etc.) """ return inv_cli.get_container_by_id(container_id, include_content=False)