Skip to main content
Glama

Optuna MCP Server

Official
by optuna

set_trial_user_attr

Set custom user-defined attributes for a specific trial in Optuna hyperparameter optimization, enabling tailored tracking and analysis of optimization processes.

Instructions

Set user attributes for a trial

Input Schema

NameRequiredDescriptionDefault
keyYes
trial_numberYes
valueYes

Input Schema (JSON Schema)

{ "properties": { "key": { "title": "Key", "type": "string" }, "trial_number": { "title": "Trial Number", "type": "integer" }, "value": { "title": "Value" } }, "required": [ "trial_number", "key", "value" ], "title": "set_trial_user_attrArguments", "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