Skip to main content
Glama

selection_bind_checked

Validates and rebuilds a selection contract, binds entities by name only when valid, then verifies effective entities. Confirms selections match intended geometry before assigning physics features.

Instructions

Rebuild, validate a selection contract, bind by name only if valid, then verify effective entities.

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": {
      "contract": "<contract>",
      "physics": "<physics>",
      "feature": "<feature>"
    },
    "name": "selection_bind_checked"
  }
}

Input Schema

NameRequiredDescriptionDefault
featureYes
physicsYes
contractYes
geometryNogeom1
componentNocomp1
model_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden and only partially meets it. It reveals the internal ordering and the important conditional that binding happens only if validation passes, but it never says whether this mutates model/selection state, what happens on failure (exception vs. partial result), or what 'rebuild' and 'verify effective entities' actually do. For an operation that may mutate a live COMSOL model, that is a significant omission.

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?

A single compact sentence that is front-loaded with the operation sequence and contains no filler. It is appropriately short, though the brevity is partly the cause of the semantic gaps rather than a virtue on its own.

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?

The tool is complex: six parameters including a nested free-form contract object, three required inputs, no annotations, and no output schema. Against that complexity, one terse sentence leaves the agent without enough information to construct a valid contract or predict the call's effects, so the definition is incomplete for the tool it describes.

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 description coverage is 0% across 6 parameters, so the description must compensate, yet it explains none of them. 'Physics', 'feature', 'geometry', 'component', 'model_name', and the untyped nested 'contract' object (additionalProperties: true) are all left for the agent to guess; the phrase 'bind by name only' hints at name-based contract semantics but does not define them.

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 concrete verbs (rebuild, validate, bind, verify) against a specific resource (a selection contract / effective entities), and the 'bind by name only if valid' clause implicitly distinguishes it from a pure validator like selection_validate. It stops short of explicitly naming a sibling, and 'selection contract' is unexplained jargon, but an agent can still tell what operation is performed.

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 ordered pipeline: it is the tool to reach for when you want validation plus binding plus verification in one call, rather than validating and binding separately. There is no explicit statement of preconditions (e.g., geometry must exist), no when-not-to-use guidance, and no named alternative such as selection_validate for validate-only workflows.

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