Skip to main content
Glama
Solitario119

IC-CAP MCP Server

by Solitario119

optimizer_setup

Configure an Optimize Transform in one call by setting algorithm, error type, inputs, parameters, and options. All optimizer parameters must include min and max bounds to avoid optimization failures.

Instructions

Configure an Optimize Transform in a single call. Replaces multiple transform_set_optim_field calls.

Sets Algorithm, Error type, Inputs table (Target/Simulated/X range), Parameters table (Name/Min/Max), and Options all at once. The Transform must already exist with Function='Optimize' (use transform_create with transform_type='Optimize' first).

CRITICAL: ALL optimizer parameters MUST have both min AND max bounds specified. Unbounded parameters cause optimization failures (e.g. IS/N compensation). The server serializes all IC-CAP API calls, so parallel calls are automatically queued. If any field fails to set, the call stops and reports which field failed.

Options are validated against the selected algorithm. Common options per algorithm:

  • Random (R): RMS error, Rand Iters (NOT Max Iters!), Rand Std Dev, Rand Reward, Rand Penalty, Rand Seed, Comb Filter

  • LM (L): RMS error, Max error, Max Evals, Param Tol, Function Tol, Comb Filter, Param Delta

  • Hybrid (H): RMS error, Max error, Rand Iters, Comb Filter, Param Tol, Function Tol, Param Delta

  • Minimax (N): RMS error, Max error, Max Evals, Param Tol, Function Tol, Max Iters, Comb Filter

  • All algorithms also support: X/Y Lower/Upper Bound

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoError type: 'Relative' or 'Absolute'Relative
inputsNoInputs table rows
optionsNoOptimizer options (validated against algorithm)
algorithmNoAlgorithm name or PEL code (L/R/H/B/G/N/Q/I)Levenberg-Marquardt
parametersNoParameters table rows
transform_pathYesOptimize Transform path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does so well: it warns that every optimizer parameter must have min and max bounds, states that options are validated against the algorithm, explains server-side serialization/queueing, and describes the failure mode (call stops and reports which field failed). This goes well beyond a generic 'set fields' statement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but information-dense; the core purpose, prerequisite, and critical warning come first, with algorithm-specific option tables at the end. Every section earns its place, and the bullet-style structure makes the compatibility rules scannable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with no annotations and no output schema, the description covers the essential context: prerequisite creation, critical bound constraints, failure behavior, queueing, and option compatibility. The only minor omission is detailed guidance for the remaining algorithm codes (B/G/Q/I) beyond the four common ones, but this does not block correct invocation for the documented cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3, but the description adds real value: it turns the flat options schema into a per-algorithm compatibility map (e.g., Random uses Rand Iters NOT Max Iters) and stresses the min/max bound requirement for Parameters. This materially improves an agent's ability to populate the parameters/options objects correctly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Configure') and resource ('an Optimize Transform') and explicitly frames it as replacing multiple transform_set_optim_field calls. The description enumerates the exact fields set (Algorithm, Error type, Inputs, Parameters, Options), making the tool's scope unmistakable and distinct from sibling transform functions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clearly states the prerequisite: transform must already exist with Function='Optimize', and directs the agent to transform_create with transform_type='Optimize' first. It also identifies transform_set_optim_field as the alternative this tool replaces, and gives algorithm-specific option guidance so the agent knows what to send.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools