Skip to main content
Glama

Optuna MCP Server

Official
by optuna

plot_slice

Generate slice plots for hyperparameter optimization results. Visualize parameter impact on target values, specify axes labels, and analyze optimization trends effectively.

Instructions

Return the slice plot as an image.

Args: params: Parameter list to visualize. The default is all parameters. 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. target_name: Target’s name to display on the axis label.

Input Schema

NameRequiredDescriptionDefault
paramsNo
targetNo
target_nameNoObjective Value

Input Schema (JSON Schema)

{ "properties": { "params": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Params" }, "target": { "default": 0, "title": "Target", "type": "integer" }, "target_name": { "default": "Objective Value", "title": "Target Name", "type": "string" } }, "title": "plot_sliceArguments", "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