Skip to main content
Glama

comsol_material

List, create, update, or remove materials in a COMSOL model, using presets like copper or water or custom properties with units for thermal, mechanical, and electrical simulations.

Instructions

材料工具。action=list 列出材料和当前物性;create 新建材料,preset 可选 copper/aluminum/steel/silicon/water/air,或用 properties 传自定义物性;update 改属性;remove 删除。属性名如 thermalconductivity、density、heatcapacity、youngsmodulus、poissonsratio、electricconductivity、relpermittivity、dynamicviscosity,值可带单位。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "comsol_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
actionNolist
presetNo
componentNo
propertiesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.5

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden: it discloses that remove deletes and that list returns current physical properties, which is useful mutation/return context. However, it does not say whether deletion is reversible, what happens when tag is omitted, or what error conditions exist for create against an existing material.

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?

The text is dense and front-loaded, leading with the tool's resource and then walking through actions in a predictable order before listing property names. Semicolon-separated clauses keep it compact, though a slight restructuring by parameter would read more cleanly.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the property-name inventory is genuinely helpful for construction. But for a five-parameter tool with zero schema coverage, leaving tag and component entirely unexplained is a real gap an agent must guess around.

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 coverage is 0%, so the description must compensate. It does well for action (all four values), preset (six valid materials listed), and properties (eight recognized property names plus note that values may carry units). It says nothing about tag or component, leaving two of five parameters undocumented anywhere.

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 opens with a specific resource (材料/material) and enumerates the concrete operations it supports (list/create/update/remove), so an agent knows exactly what the tool manages. It does not explicitly contrast itself with siblings like comsol_params, but the material domain is distinct enough that confusion is unlikely.

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?

Each action's intent is spelled out (list also returns current properties, create accepts either a preset or custom properties, update modifies, remove deletes), which gives clear guidance on selecting the right action. It also states the preset-vs-properties alternative for creation. It stops short of saying when to use this tool instead of comsol_params or comsol_physics.

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