Skip to main content
Glama

get_selections

Read-onlyIdempotent

Retrieve the current COMSOL model's selections, including status and identity details, without modifying or solving the model.

Instructions

Phase 1 read-only Inspector projection: get_selections. 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_selections"
  }
}

Input Schema

NameRequiredDescriptionDefault
model_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so "Does not change or solve the model" largely repeats what the structured data says. The one genuinely additive claim is that it shares the "explicit status/identity schema" with inspect_current_model, which hints at result shape, but nothing is said about scope, cost, or what happens with a null model_name.

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?

It is short and front-loads the read-only claim, but the opening phrase "Phase 1 read-only Inspector projection" is internal jargon that consumes the most prominent slot without telling an agent what the tool returns. The remaining two sentences are compact and earn their place.

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 no output schema and an undocumented single parameter, the description should explain what a "selection" projection contains and how model_name alters the call. Instead it relies on the agent knowing the sibling tool's schema and the domain meaning of "selections," leaving real gaps for a simple but opaque reader.

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?

The tool exposes exactly one optional parameter (model_name, default null) at 0% schema description coverage, so the description carries a modest burden to explain it. It gives no explanation of model_name semantics, which keeps it below the credit it would get if the parameter were documented or absent.

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?

"Phase 1 read-only Inspector projection: get_selections" restates the name with domain jargon ("projection") and never says concretely what a selection is or what is returned about it. It does signal read-only inspection and points at inspect_current_model for custom limits, but the core verb+resource statement ("retrieve the selections/entity identities in the current model") is left implicit.

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?

There is one concrete routing rule: for custom limits, use inspect_current_model with sections. That is a real alternative-with-condition, but it only covers a narrow sub-case; there is no general statement of when to call get_selections versus the many other get_* inspection tools (get_model_tree, get_physics, datasets_list).

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