Skip to main content
Glama
NovaSolver Studio MCP Server

NovaSolver Studio MCP Server

Official
by novasolver

build_surrogate

Builds a surrogate model from simulation design variants and holdout checks, enabling millisecond predictions with error bars for engineering cases.

Instructions

Build an instant-answer model of this case: Studio solves n variants (default 60, one at a time, in the background, surviving this client closing), holds some out to check the fit, then surrogate_predict answers in milliseconds with an error bar. parameters: 1 to 5 of {"path": "boundaries.x1.force", "min": 100, "max": 1000, "unit": "N"}; any number update_case can change (omit unit for a plain number such as materials.solid.nu). An imported CAD shape has no dimensions to vary: template dimensions (geometry.params.*) can vary, an imported STEP cannot. outputs: names in the results' metrics, e.g. max_vm_pa, max_disp_m, t_max_k, dp_pa; left out = the main ones for this physics. Below 60 solves the error bar is less reliable. mesh_checks: mesh convergence studies at that many design points (each takes about three solves). Poll surrogate_status.

Input Schema

NameRequiredDescriptionDefault
nNo
modeNo
case_idYes
outputsNo
languageNoja
parametersYes
mesh_checksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only say non-readOnly, non-idempotent, non-destructive; the description adds substantial context beyond that: background/async execution, survival of client disconnect, held-out fits, and the warning that fewer than 60 solves yields a less reliable error bar. It does not state cost/rate limits for mesh_checks beyond the ~3-solves-per-point note, so not a 5.

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

Conciseness3/5

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

Front-loaded and information-dense, but the single long run-on sentence mixes workflow, parameter grammar, and caveats without structural separation, and several clauses (e.g., the unit-omission aside) are buried mid-sentence. Every piece of content earns its place, but the structure makes it harder to scan than it needs to be.

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?

With 7 parameters at 0% schema coverage and no output schema, the description covers the costly/risky decisions (n, parameters, outputs, mesh_checks) well and points to surrogate_status for follow-up. The undocumented mode, language, and case_id parameters, plus no word on what a returned handle looks like, leave minor gaps.

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 0%, so the description carries the full burden and largely discharges it: it documents parameter entries as 1–5 objects of path/min/max/unit with a concrete example, the 'any number update_case can change' rule, the CAD/template limitation on varyable dimensions, outputs naming from results metrics with examples and defaults, the n default of 60 and error-bar implication, and mesh_checks costing ~3 solves per point. Gaps remain on case_id, mode (preview/final), and language, which keeps it from being flawless but it is far above baseline.

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+resource ('Build an instant-answer model of this case') and immediately distinguishes the workflow from siblings: build_surrogate trains, surrogate_predict answers, surrogate_status polls. An agent can route correctly from this sentence alone.

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

Usage Guidelines4/5

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

Explains the pipeline position (build here, predict later), notes background execution surviving client close, and directs polling to surrogate_status. It lacks an explicit 'when not to use' (e.g., use instant_estimate for a single point), which keeps it below a 5.

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