uptrace_list_dashboards
Retrieve all dashboard IDs and names from the Uptrace observability platform for monitoring and analysis.
Instructions
List all dashboards. Returns dashboard IDs and names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/uptrace_mcp/server.py:997-1015 (handler)The handler logic for the 'uptrace_list_dashboards' tool, which fetches dashboards from the client and formats them as markdown text.
elif name == "uptrace_list_dashboards": logger.info("Listing dashboards") dashboards = client.get_dashboards() lines = [ "# Dashboards", f"**Total Dashboards**: {len(dashboards)}", "", ] if dashboards: lines.append("## Dashboard List") for dashboard in dashboards: lines.append(f"- **{dashboard.name}** [ID: {dashboard.id}]") if dashboard.description: lines.append(f" {dashboard.description}") else: lines.append("No dashboards found.") - src/uptrace_mcp/server.py:344-351 (registration)The Tool registration for 'uptrace_list_dashboards'.
Tool( name="uptrace_list_dashboards", description="List all dashboards. Returns dashboard IDs and names.", inputSchema={ "type": "object", "properties": {}, }, ),