Skip to main content
Glama

geometry_perturb

Vary declared parameters to rebuild, measure, and rebind-check a COMSOL geometry, then restore baseline parameters and geometry from a saved recovery snapshot.

Instructions

Save a unique recovery snapshot, vary declared parameters, rebuild/measure/rebind-check, finally restore baseline parameters and geometry. Does not restore old solutions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "spec": "<spec>"
    },
    "name": "geometry_perturb"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes
model_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/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 disclose meaningful state behavior: it saves a unique recovery snapshot and restores baseline parameters and geometry at the end, and explicitly notes it does not restore old solutions. It does not say whether the baseline is still restored if a rebuild or rebind-check fails mid-run, whether the snapshot is left behind, or how measurements are surfaced.

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

Conciseness4/5

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

Two tight sentences with the operational sequence front-loaded and the important limitation ('does not restore old solutions') placed as a separate caveat. The slash-chained step list is dense but readable; no filler.

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?

This is a complex multi-step tool with a nested opaque object, no output schema, and no annotations, yet the description does not explain what `spec` must contain or what a measurement result looks like. For an agent to invoke it correctly it would have to guess the entire input contract, which the description does not supply.

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

Parameters2/5

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

Schema coverage is 0% for two parameters, one of which is a nested `spec` object with additionalProperties=true and no documentation anywhere. The phrase 'vary declared parameters' hints that the varied parameters live in `spec`, but the structure, keys, and value ranges are entirely unexplained, and `model_name` is never mentioned.

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 names a concrete verb sequence for a specific resource: snapshot, vary declared parameters, rebuild/measure/rebind-check, restore baseline. That workflow is distinctive enough to separate it from siblings like geometry_build or geometry_accept, though it never states what the perturbation is ultimately for or what the agent gets back.

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 only implied by the workflow shape (a parametric sensitivity/robustness sweep). There is no explicit statement of when to choose this over geometry_build or geometry_accept, and no preconditions such as needing an already-built geometry or a bound model.

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