Skip to main content
Glama

inspect_current_model

Read-onlyIdempotent

Inspect a named or tracked live COMSOL model to read its parameters, components, geometry, materials, physics, mesh, study, solver, and datasets without changing it. Limit output by sections.

Instructions

Phase 1 READ: inspect an explicitly named or MCP-current tracked live model. Returns identity, parameters, all components, geometry, selections/entities, materials/property groups, physics/nested features, boundary-feature index, multiphysics, mesh, study, solver and datasets. Unknown/unavailable/truncated fields are explicit. Does not start/load/build/mesh/solve/evaluate results/save/change the model or execute model text. Desktop active document is NOT inferred. No Audit, Diff or Diagnosis. Use sections to limit output; preserve limitations in your answer.

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

Input Schema

NameRequiredDescriptionDefault
sectionsNo
max_depthNo
max_itemsNo
max_nodesNo
max_stringNo
model_nameNo
max_propertiesNo
include_propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, and the description goes well beyond that: it discloses that unknown/unavailable/truncated fields are reported explicitly, that no desktop-active-document inference happens, and that no model text is executed. These are exactly the behavioral constraints an agent needs before trusting the output as a source of truth.

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?

Front-loaded with the phase/mode signal, then scoping, then returns, then exclusions. The long comma-separated return-field enumeration is dense but each item carries routing information. No filler sentences.

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?

There is no output schema, so listing the returned sections is genuinely necessary and done well. However, with 8 parameters at 0% coverage and truncation/limit parameters that materially alter results, the definition is incomplete about how to bound and interpret output size.

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 8 parameters, so the description carries the full burden and largely does not. Only `sections` gets any explanation ("limit output"); max_depth, max_items, max_nodes, max_string, max_properties, include_properties and model_name are never explained, and their interaction with truncation reporting is left implicit.

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?

Names a specific verb and resource ("inspect ... tracked live model") and enumerates exactly what the response covers: identity, parameters, components, geometry, physics, mesh, study, solver, datasets. It also scopes the target precisely ("explicitly named or MCP-current"). It never names the close sibling model_inspect, so an agent cannot tell from the text when to prefer one over the other.

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?

Supplies strong negative guidance: it does not start/load/build/mesh/solve/evaluate/save/change the model, does not execute model text, does not infer the desktop active document, and does no Audit/Diff/Diagnosis. "Use sections to limit output" gives a practical usage hint. It stops short of naming an alternative tool for the excluded operations, so the agent must infer the routing.

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