Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

docs_search

Search curated guides or installed COMSOL documentation by keyword to locate modeling guidance, programming references, and API details.

Instructions

Search the knowledge base: curated guides and/or the installed COMSOL docs.

Args: query: free-text query, e.g. "heat flux boundary", "jacobian", "animation gif", "solid.mises", "selection empty". scope: "guides" (default, 13 curated guides), "help" (search the offline COMSOL 6.4 HTML documentation installed on this machine; manual, programming reference and API javadoc), or "all" (both). limit: maximum results (1-50, default 10).

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": "docs_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
scopeNoguides

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 and does state concrete behavior: which corpora are searched (13 curated guides, offline COMSOL 6.4 HTML incl. manual, programming reference, API javadoc) and the result-count cap (1-50, default 10). It still omits what a search is against (keyword vs. full text), result ordering, and what a result row contains, which matters given there is no output schema.

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?

Purpose is front-loaded in a single lead sentence, then a tight per-argument breakdown with no filler. The docstring-style 'Args:' formatting is slightly mechanical but each line carries information the schema lacks.

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?

For a three-parameter read-only search with no annotations and no output schema, the description covers inputs well but says nothing about the shape of results or the natural follow-up (fetching a hit with docs_get). An agent can call it correctly but cannot predict the response structure.

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

Parameters4/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, and it largely does: it defines each of the three parameters, gives five concrete example queries showing the expected query style ('heat flux boundary', 'solid.mises'), enumerates the scope values with their meanings and default, and adds the 1-50 bound not present in the schema. The query parameter's matching semantics are only conveyed by example.

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 gives a specific verb and resource ('Search the knowledge base') and immediately enumerates the two corpora searched: curated guides and the installed COMSOL 6.4 HTML docs. It does not differentiate itself from adjacent tools such as docs_get, docs_list, or library_search, so scope-of-identity within the family is left to inference.

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?

The scope argument values ('guides' default, 'help' for offline docs, 'all' for both) implicitly tell the agent which mode to pick, and the default is stated. However, there is no explicit guidance on when to reach for this tool versus docs_get, docs_list, or library_search, and no exclusions.

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