mcp_plot_financial_metric
Visualize financial metrics over time using date-value pairs. Input dates, values, and optional details like metric name and title. Outputs an image file path or base64 representation for analysis or reporting.
Instructions
Plots a financial metric over time.
Args:
dates: List of date strings.
values: List of metric values.
metric_name: Name of the metric.
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 | ||
metric_name | No | Metric | |
title | No | Financial Metric | |
values | Yes |
Input Schema (JSON Schema)
{
"properties": {
"dates": {
"items": {},
"title": "Dates",
"type": "array"
},
"filename": {
"default": null,
"title": "Filename",
"type": "string"
},
"metric_name": {
"default": "Metric",
"title": "Metric Name",
"type": "string"
},
"title": {
"default": "Financial Metric",
"title": "Title",
"type": "string"
},
"values": {
"items": {},
"title": "Values",
"type": "array"
}
},
"required": [
"dates",
"values"
],
"title": "mcp_plot_financial_metricArguments",
"type": "object"
}