Skip to main content
Glama

physics_add_general_form_pde

Add a General Form PDE interface to define custom PDEs in COMSOL models, specifying dependent variables, domains, and equation properties such as Ga, f, da, and ea.

Instructions

Add a General Form PDE interface.

Common equation properties include Ga, f, da, and ea. Values can be scalar, vector, or matrix expressions. Rejected properties are returned explicitly.

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

Input Schema

NameRequiredDescriptionDefault
model_nameNo
physics_tagNog
component_nameNo
domain_selectionNo
dependent_variablesNo
equation_propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral burden, but it only mentions that rejected properties are returned explicitly. It does not disclose whether the tool mutates the active model, requires a loaded model, persists changes, or what other side effects occur—critical context for a creation/mutation tool.

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 description is compact and front-loaded: the purpose is stated first, followed by useful domain context and a note on rejected properties. No wasted sentences, though the brevity leaves important gaps that could have been filled without bloat.

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?

For a 6-parameter creation tool with no annotations, no output schema, and 0% schema description coverage, the description is incomplete. It omits parameter explanations, prerequisites, model-state assumptions, and the typical PDE configuration workflow that an agent would need to call it correctly.

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% for 6 parameters. The description mentions equation properties (Ga, f, da, ea), which adds some meaning for the equation_properties parameter, but says nothing about model_name, physics_tag, component_name, domain_selection, or dependent_variables, nor their defaults ('g', ['u']). It only partially compensates for the schema gap.

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 states a specific verb and resource: 'Add a General Form PDE interface.' This clearly identifies the operation. However, it does not differentiate from close siblings such as physics_add_coefficient_form_pde or physics_add_weak_form_pde, so an agent must rely on the name alone to choose among PDE interface types.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use a General Form PDE versus a Coefficient Form PDE, Weak Form PDE, or other physics interfaces. No prerequisites, model state requirements, or workflow context are provided, leaving the agent to infer selection from the tool name alone.

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