Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

Estimate first layer

estimate_first_layer
Read-onlyIdempotent

Estimate the full first prism height in mm for a target wall-cell y+. Use bulk speed and hydraulic diameter for a channel, or freestream speed and streamwise body length for external flow. Fluid inputs are density and dynamic viscosity. No mesh job is created.

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": {
      "flow_kind": "<flow_kind>",
      "target_y_plus": "<target_y_plus>",
      "speed_m_s": "<speed_m_s>",
      "reference_length_m": "<reference_length_m>",
      "density_kg_m3": "<density_kg_m3>",
      "dynamic_viscosity_pa_s": "<dynamic_viscosity_pa_s>"
    },
    "name": "estimate_first_layer"
  }
}

Input Schema

NameRequiredDescriptionDefault
flow_kindYes
speed_m_sYes
density_kg_m3Yes
target_y_plusYes
reference_length_mYesStreamwise body length for external flow or hydraulic diameter for internal flow.
dynamic_viscosity_pa_sYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish that this is read-only, idempotent, and non-destructive. The description adds meaningful domain-specific behavior by stating that no mesh job is created and that the result is a first-layer height in mm, going beyond the supplied annotations.

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 four compact sentences with the purpose, flow-dependent input interpretation, fluid inputs, and side-effect clarification front-loaded. Every sentence earns its place and there is no redundant wording.

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 six-parameter estimation tool with an output schema, the description gives enough context to call it correctly: target quantity, units, input interpretation by flow kind, and the absence of a mesh job. It does not discuss assumptions or limitations of the estimate, but the essential invocation information is present.

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 only 17%, so the description must carry parameter meaning, and it does explain that speed and reference length are interpreted differently for internal versus external flow. It also identifies density and dynamic viscosity as the fluid inputs, though target_y_plus and the exact role of each fluid property rely mostly on parameter names.

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 states a specific verb and resource: estimate the full first prism height in mm for a target wall-cell y+. It also distinguishes the output from a mesh-generation action by saying no mesh job is created, so an agent can tell what the tool does without opening the schema.

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 clearly explains how to select speed and reference length depending on whether the flow is internal/channel or external, which gives useful contextual guidance. It does not explicitly name alternatives such as create_mesh or state when not to use the tool, but the intended estimation context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources