Skip to main content
Glama

get_materials

Read-onlyIdempotent

Retrieve material definitions from the current COMSOL model as read-only inspector data with status and identity details, without modifying or solving the model.

Instructions

Phase 1 read-only Inspector projection: get_materials. Same explicit status/identity schema as inspect_current_model. For custom limits use that tool with sections. Does not change or solve the model.

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

Input Schema

NameRequiredDescriptionDefault
model_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered structurally. The description adds the scope note 'Does not change or solve the model,' which usefully tells the agent this call will not trigger a solve, but otherwise restates the read-only annotation and says nothing about cost, payload size, or what a projection returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with no filler, which is good, but the ordering is poor: the most useful routing instruction (use inspect_current_model for custom limits) comes after opaque framing like 'Phase 1 read-only Inspector projection.' The jargon sentences do not earn their space relative to the one actionable sentence.

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?

With one optional parameter, no output schema, and no description of what a 'materials projection' contains (names? properties? assignments?), the definition leaves the agent unable to predict the result. The reference to a 'status/identity schema' borrowed from inspect_current_model is not resolvable from this definition alone.

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% and the single parameter model_name (nullable, default null) is never mentioned in the description. The agent must infer that omitting it targets the current model and that supplying it targets a named model; that inference is not supported by any text provided.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The name plus 'read-only Inspector projection' implies retrieving materials from the current model, and it distinguishes itself as a read-only inspector call. But 'Phase 1 read-only Inspector projection' and 'explicit status/identity schema' are internal jargon that never plainly says 'returns the materials defined in the model.' An agent can guess the purpose from the name but not from the prose alone.

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?

'For custom limits use that tool with sections' routes the agent to inspect_current_model when it needs custom limits, which is a genuine when-not-to-use hint. However, 'that tool' is an ambiguous back-reference and there is no positive statement of when get_materials is the right choice versus get_model_tree, get_parameters, or inspect_current_model itself.

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