Skip to main content
Glama
ETABS Desktop MCP Server

ETABS Desktop MCP Server

by adhok-coder

etabs_call_api

Access any ETABS API method not covered by other tools by specifying an interface path, method name, and arguments to call it directly through COM automation.

Instructions

Call ANY method in the ETABS API that isn't covered by other tools.

This is a powerful escape hatch to access all 1,300+ methods in the API.

Examples:

  • interface_path="FrameObj", method_name="GetLabelFromName", arguments=["F1", "", ""]

  • interface_path="Results.Setup", method_name="GetCaseSelectedForOutput", arguments=["DEAD", False]

  • interface_path="", method_name="GetModelFilename", arguments=[] (uses SapModel directly)

Args: interface_path: Dot-separated path to the interface relative to SapModel. Leave empty string to call methods directly on SapModel. method_name: Name of the method to call. arguments: List of arguments to pass to the method. COM 'ref' and 'out' parameters must still be provided (usually as dummy values or empty arrays).

Returns: JSON representation of the COM method's raw return tuple. Typically the first element is the return code (0 = success).

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": {
      "interface_path": "<interface_path>",
      "method_name": "<method_name>"
    },
    "name": "etabs_call_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNo
method_nameYes
interface_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

The description adds significant behavioral context beyond annotations: it explains the raw return tuple, the need to provide COM ref/out parameters as dummy values, and that methods are accessed via SapModel paths. Annotations indicate readOnlyHint=false, destructiveHint=false, but the tool can call destructive methods, creating a minor inconsistency.

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

Conciseness5/5

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

The description is well-structured, starting with purpose, then examples, then parameter details. Every sentence adds value, and it is appropriately concise for the complexity.

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?

The description covers the return format (JSON of raw tuple) and usage patterns. It could mention potential error handling or that some methods may fail, but given the tool's generic nature, it is reasonably complete.

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

Parameters5/5

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

With 0% schema coverage, the description fully compensates by explaining each parameter: interface_path (dot-separated, empty for SapModel), method_name, and arguments (list required even for ref/out). This provides essential meaning.

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

Purpose5/5

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

The description clearly states it is an escape hatch for calling any ETABS API method not covered by other tools, effectively distinguishing it from sibling tools. The examples reinforce its purpose.

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?

The description explicitly says to use when a method isn't covered by other tools, and provides examples and parameter explanations. However, it does not explicitly state when not to use it, though the implication is clear.

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