Skip to main content
Glama
cletcher

Chaprola MCP Server

by cletcher

chaprola_optimize

Run HULDRA nonlinear optimization to minimize objectives by adjusting parameters, using a compiled PR program as the objective evaluator.

Instructions

Run HULDRA nonlinear optimization using a compiled .PR as the objective evaluator

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
programYesCompiled .PR program name (the VALUE program)
projectYesProject name
elementsYesParameters to optimize
h_initialNoInitial step fraction (default: 0.125)
async_execNoIf true, return job_id for long optimizations
objectivesYesObjective values to minimize
primary_fileYesData file to pass to the VALUE program
max_iterationsNoMax iterations (default: 100)
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the operation but does not mention side effects, whether it runs synchronously or asynchronously, return value behavior (e.g., job_id), or required permissions. This is a significant gap for an execution tool.

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 a single, front-loaded sentence with no filler. 'Run HULDRA nonlinear optimization' immediately conveys the core action, and the remainder specifies the key mechanism. Every word earns its place.

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

Completeness2/5

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

With 8 parameters, nested array objects, no annotations, and no output schema, a one-sentence description is insufficient. The agent is left to infer return behavior, async execution implications, prerequisites, and how this tool relates to compile/run/status siblings.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds a useful relationship between 'program' and 'objectives' by calling the .PR an 'objective evaluator', but it does not add meaning for elements, primary_file, async_exec, or other parameters beyond what the schema already states.

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

Purpose4/5

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

The description uses a specific verb ('Run') and resource ('HULDRA nonlinear optimization') with a clear mechanism ('compiled .PR as the objective evaluator'). It implicitly distinguishes itself from siblings like chaprola_run by naming optimization, though it does not explicitly name alternative tools.

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

Usage Guidelines3/5

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

Usage is implied by the description: use this when you need nonlinear optimization with a compiled .PR objective evaluator. However, there is no explicit guidance on when not to use it, prerequisites like compiling the .PR first, or alternatives such as chaprola_optimize_status for checking progress.

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

Install Server

Other Tools

Latest Blog Posts

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/cletcher/chaprola-mcp'

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