Skip to main content
Glama
codersag

Mechanical MCP Server

by codersag

connect_to_mechanical

Connect to ANSYS Mechanical via gRPC using the port reported by Workbench for the current session, enabling AI-driven simulation tasks.

Instructions

Connect to ANSYS Mechanical via gRPC. Args: port: gRPC port reported by Workbench (changes every session)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it is thin. It does disclose one useful behavioral fact — the port changes every session — but says nothing about session lifecycle, whether an existing connection is replaced, authentication, or failure modes for a stateful connection 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?

Two short lines, front-loaded with the action; no filler. The 'Args:' block is slightly schema-like boilerplate but carries real information about the port.

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?

With an output schema present, return values need not be explained, and the single parameter is covered. However, for a session-establishing tool with no annotations, the description lacks prerequisites and its relationship to the connection-checking and disconnect siblings.

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?

Schema coverage is 0%, so the description must compensate, and it largely does: it identifies 'port' as the gRPC port reported by Workbench and warns that it changes every session, which is exactly the semantics an agent needs. It omits format/range detail, keeping it from a 5.

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?

States a specific verb and resource: 'Connect to ANSYS Mechanical via gRPC.' An agent can tell this is a connection-establishment tool. It does not explicitly differentiate itself from the sibling 'check_mechanical_connection' or 'disconnect_from_mechanical', so it stops short of a 5.

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?

The description never says when to use this versus check_mechanical_connection or disconnect_from_mechanical, nor any precondition (e.g., Workbench must be running, must already be unconnected). Usage must be inferred from the name alone.

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