Skip to main content
Glama

starccm_api_lookup

Read-onlyIdempotent

Validates a STAR-CCM+ Java class or method against the local API reference before macro coding, returning package, inheritance, exact signatures, or similar class names when a name is wrong.

Instructions

Checks a class or method against the local Java API reference before writing a macro: package, inheritance, exact signatures (following inherited methods to the class that declares them), or a list of similar class names when the name is wrong.

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

Input Schema

NameRequiredDescriptionDefault
nameYes'Class', 'Class.method' or 'Outer.Inner', e.g. 'RegionManager.getRegions', 'FlowDirectionOption.Type'
limitNo
containsNoWith a bare class: only members whose signature contains this

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds genuine behavioral detail beyond that: inherited methods are resolved to the declaring class, and a wrong name yields a list of similar class names rather than an error. It does not mention truncation behavior tied to the limit parameter, which would have been useful.

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?

A single front-loaded sentence that leads with the action and then enumerates outcomes. Dense but every clause carries information; the parenthetical about inherited methods is slightly heavy but justified.

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?

An output schema exists, so return-value explanation is unnecessary, and the description covers the main behavioral surprises (inheritance resolution, similar-name fallback). Only the limit/truncation semantics are left unaddressed for a three-parameter tool.

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 67% and the schema itself documents 'name' with concrete examples and 'contains' with its purpose. The description adds the accepted name forms implicitly and explains the fallback behavior for bad names, but says nothing about 'limit' or how 'contains' interacts with member listing beyond what the schema states. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Checks a class or method against the local Java API reference') and enumerates exactly what it returns: package, inheritance, exact signatures, or similar-name suggestions. This is clearly distinguishable from sibling doc-search and macro-run tools.

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?

Gives a clear usage context ('before writing a macro'), which tells the agent when this tool is appropriate. It does not explicitly name an alternative or state when not to use it, so it falls 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.