Skip to main content
Glama

Optuna MCP Server

Official
by optuna

plot_optimization_history

Visualize optimization history as an image to analyze performance trends. Specify target index for multi-objective tasks or use auto for single-objective. Customize axis labels for clarity.

Instructions

Return the optimization history plot as an image.

Args: target: An index to specify the value to display. To plot nth objective value, set this to n. Note that this is 0-indexed, i.e., to plot the first objective value, set this to 0. For single-objective optimization, None (auto) is recommended. For multi-objective optimization, this must be specified. target_name: Target's name to display on the axis label and the legend.

Input Schema

NameRequiredDescriptionDefault
targetNo
target_nameNoObjective Value

Input Schema (JSON Schema)

{ "properties": { "target": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Target" }, "target_name": { "default": "Objective Value", "title": "Target Name", "type": "string" } }, "title": "plot_optimization_historyArguments", "type": "object" }

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/optuna/optuna-mcp'

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