Skip to main content
Glama

MCP ECharts

tree.json3.16 kB
{ "name": "generate_tree_chart", "description": "Generate a tree chart to display hierarchical data structure, such as, organizational chart, family tree, or file directory structure.", "inputSchema": { "type": "object", "properties": { "data": { "type": "object", "properties": { "name": { "type": "string", "description": "Node name, such as 'Root'." }, "value": { "type": "number", "description": "Node value (optional)." }, "children": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Node name, such as 'Root'." }, "value": { "type": "number", "description": "Node value (optional)." }, "children": { "type": "array", "items": { "$ref": "#/properties/data/properties/children/items" }, "description": "Child nodes for hierarchical structure." } }, "required": ["name"] }, "description": "Child nodes for hierarchical structure." } }, "required": ["name"], "description": "Tree data structure, such as, { name: 'Root', children: [{ name: 'Child 1' }, { name: 'Child 2' }] }." }, "height": { "type": "integer", "exclusiveMinimum": 0, "default": 600, "description": "Set the height of the chart, default is 600px." }, "layout": { "type": "string", "enum": ["orthogonal", "radial"], "default": "orthogonal", "description": "Tree layout type. Default is 'orthogonal'." }, "orient": { "type": "string", "enum": ["LR", "RL", "TB", "BT"], "default": "LR", "description": "Tree orientation. LR=left-to-right, RL=right-to-left, TB=top-to-bottom, BT=bottom-to-top. Default is 'LR'." }, "theme": { "type": "string", "enum": ["default", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'." }, "title": { "type": "string", "description": "Set the title of the chart." }, "width": { "type": "integer", "exclusiveMinimum": 0, "default": 800, "description": "Set the width of the chart, default is 800px." }, "outputType": { "type": "string", "enum": ["png", "svg", "option"], "default": "png", "description": "The output type of the diagram. Can be 'png', 'svg' or 'option'. Default is 'png', 'png' will return the rendered PNG image, 'svg' will return the rendered SVG string, and 'option' will return the valid ECharts option." } }, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#" } }

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/hustcc/mcp-echarts'

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