mcp_plot_comparison_chart
Visualize and compare financial metrics or tickers over time by plotting a chart with customizable dates, series, and titles. Export results as an image for analysis.
Instructions
Plots a comparison chart for multiple tickers or financial metrics over time.
Args:
dates: List of date strings.
series: Dict where keys are labels and values are lists of values for each date.
title: Chart title.
filename: Optional filename to save the plot.
Returns:
Dict with 'file_path' and 'base64' of the image.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dates | Yes | ||
filename | No | ||
series | Yes | ||
title | No | Comparison Chart |
Input Schema (JSON Schema)
{
"properties": {
"dates": {
"items": {},
"title": "Dates",
"type": "array"
},
"filename": {
"default": null,
"title": "Filename",
"type": "string"
},
"series": {
"additionalProperties": true,
"title": "Series",
"type": "object"
},
"title": {
"default": "Comparison Chart",
"title": "Title",
"type": "string"
}
},
"required": [
"dates",
"series"
],
"title": "mcp_plot_comparison_chartArguments",
"type": "object"
}