Skip to main content
Glama

get_dashboard_types

Retrieve available chart types for creating dashboards in the Devici security platform to visualize threat models and security data.

Instructions

Get available dashboard chart types

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'get_dashboard_types'. Decorated with @mcp.tool(), it creates an API client and calls its get_dashboard_types method, returning the result as string.
    @mcp.tool() async def get_dashboard_types() -> str: """Get available dashboard chart types""" async with create_client_from_env() as client: result = await client.get_dashboard_types() return str(result)
  • Helper method in the API client that makes a GET request to '/dashboard/types' to retrieve available dashboard types.
    async def get_dashboard_types(self) -> List[str]: """Get dashboard chart types.""" return await self._make_request("GET", "/dashboard/types")

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/sdelements/devici-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server