Skip to main content
Glama

starccm_session_info

Read-onlyIdempotent

Retrieves details of the open STAR-CCM+ simulation—name, path, iteration, regions, physics, parameters, reports, and scenes—to confirm the active session before running other macros.

Instructions

Runs a built-in read-only macro on the server at localhost: and returns the simulation name and path, workers, current iteration, regions and boundaries with types, continua and models, global parameters (definition, value, units), reports, monitors and scenes. It takes some seconds because a batch client has to start. Use it to confirm which simulation is open before running any other macro.

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": {
      "port": "<port>"
    },
    "name": "starccm_session_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYesServer port from starccm_session_list
timeout_sNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely non-structured behavior: it is implemented as a built-in macro, it incurs a multi-second latency because a batch client must start, and it is the confirmation step before other macros. It does not mention timeout behavior or what happens on a port with no server, which keeps it at 4.

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 front-loaded correctly, leading with what the tool does and ending with the usage rule and the cost caveat. The middle sentence, however, is a long comma-spliced inventory of return fields that duplicates information already carried by the existing output schema, so some wording does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a fast-read inspection tool with an output schema and full annotation coverage, the description supplies what the structured fields cannot: the batch-client startup latency, the confirmation-before-other-macros workflow, and the port-to-session-list linkage. The only missing piece an agent might want is guidance on the timeout parameter or failure behavior on a bad port.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: 'port' is documented and cross-referenced to starccm_session_list, 'timeout_s' has no description at all. The description reinforces the port's role by naming localhost:<port> as the target server, but says nothing about the timeout parameter or how to set it for a slow-starting batch client, so it only partially compensates for the coverage 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 opens with a concrete verb and mechanism ('Runs a built-in read-only macro on the server at localhost:<port>') and enumerates exactly what the caller gets back: simulation name/path, workers, iteration, regions, boundaries, continua, parameters, reports, monitors, scenes. That is far more specific than a restatement of the name. It stops short of 5 because it never contrasts itself with closely overlapping siblings such as starccm_sim_overview or starccm_session_list, which an agent will see in the same catalog.

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?

It gives an explicit precondition: 'Use it to confirm which simulation is open before running any other macro,' which tells the agent both when to call it and how it relates to the other tools. There is no explicit statement of when NOT to use it (e.g. when no server is running, or when a narrower sim_* tool would suffice), so it falls one step short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.