get_recent_samples_summary
Retrieve a summary of recent research samples with essential details for dashboard monitoring and activity overview, using configurable time windows and result counts.
Instructions
Retrieves recent samples with minimal data for dashboard views
Usage: Quick overview of recent activity without full sample details Performance: Optimized for dashboard and summary displays Filtering: Configurable time window and result count
Returns: Lightweight sample list with essential information only
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days_back | No | ||
| page_size | No |
Implementation Reference
- main.py:1211-1224 (handler)The handler function that defines and implements (placeholder) the logic for the 'get_recent_samples_summary' tool. Includes type hints for input parameters (days_back: int=7, page_size: int=10) and return type (list), which serve as the schema.def get_recent_samples_summary(days_back: int = 7, page_size: int = 10) -> list: """ Retrieves recent samples with minimal data for dashboard views Usage: Quick overview of recent activity without full sample details Performance: Optimized for dashboard and summary displays Filtering: Configurable time window and result count Returns: Lightweight sample list with essential information only """ # TODO: Implement efficient recent samples query # This would use date filtering and minimal field selection # for optimal performance pass
- main.py:1210-1210 (registration)The @mcp.tool decorator registers the get_recent_samples_summary function as an MCP tool with tags for categorization.@mcp.tool(tags={"rspace", "inventory", "utility"})