Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

mat_library_search

Search COMSOL material libraries by name, tag, category, library, or required property to locate materials for simulation models.

Instructions

Search COMSOL material libraries by name/tag/category.

Args: query: search text, e.g. "copper", "ndfeb", "water", "glass". library: restrict to one library id/label (e.g. "Built-in", "Optical"). category: restrict to a category (e.g. "Liquids", "Gases"). property: only materials that define this property, e.g. "thermalconductivity" or "dynamicviscosity". limit: maximum number of results (default 30). Example: mat_library_search(query="water", library="Fluids", property="dynamicviscosity")

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": {
      "query": "<query>"
    },
    "name": "mat_library_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
libraryNo
categoryNo
propertyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it does disclose the default result cap of 30, which is meaningful behavior for a search tool. However, it says nothing about whether results are truncated silently, what fields each hit contains, or whether matching is case-sensitive or fuzzy — gaps for a tool with zero annotation coverage.

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 purpose sentence is front-loaded, followed by compact per-parameter annotations and one worked example that earns its place by showing a multi-filter call. Minor redundancy between the Args line for limit and the schema default, but nothing extraneous overall.

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?

For a single-purpose, read-only lookup with five parameters and no output schema, the definition gives enough to invoke it correctly, including filter semantics and an end-to-end example. The main residual gap is the absence of any description of the result shape or behavior when no matches are found.

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?

With 0% schema description coverage, the description fully compensates: it explains query as search text with four concrete examples, defines library as an id/label with example 'Built-in'/'Optical', defines category with 'Liquids'/'Gases', and clarifies that property restricts to materials that actually define that property, giving exact key spellings like 'dynamicviscosity'. The limit default of 30 is restated and the example call demonstrates correct combination of optional filters.

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 verb and resource: 'Search COMSOL material libraries by name/tag/category,' which tells an agent exactly what is returned (material entries) and what facets are searchable. It does not explicitly contrast itself with siblings such as mat_library_list or mat_library_categories, but the 'search' verb plus the name/tag/category facets makes the distinction largely inferable.

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 conveyed only implicitly through example queries ('copper', 'ndfeb', 'water', 'glass') and an example call combining query, library, and property. There is no explicit statement of when to prefer this over mat_library_list or mat_library_categories, nor any note about when the filters are unnecessary.

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