Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

Import attached CAD or STL

import_surface_attachment

Import an already attached STL/STEP/STP/3MF using the actual file reference supplied by the chat host. Prefer this over asking the user to select that file again. The API fetches and verifies its bytes and returns a ready artifact; continue view_geometry for STL, inspect_mesh_geometry and requested meshing/sections. Reuse known ready artifacts first. Never invent a download URL/file ID, use a client path or expose the temporary URL. If the host cannot hand off the attachment, use create_upload when you can run commands where the file is, otherwise open_surface_upload once. Normally omit coordinate_units (auto). Supply engineering_context from the request and expected_length_mm only if known. Inspect measured STL bounds to infer units; ask only when scale remains ambiguous. STEP/3MF use embedded units normalized to mm. Use reconstruct_cad for 3MF before downstream geometry or meshing. Does not start engineering compute. May return a pending operation_id instead of the finished result. Continue with get_operation at retry_after_seconds intervals; on success use result, then continue the requested workflow. Do not resubmit to check progress.

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": {
      "filename": "<filename>",
      "file": "<file>"
    },
    "name": "import_surface_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesStandard JSON input; hosts may also recognize openai/fileParams metadata.
sha256No
filenameYes
project_idNo
request_idNo
size_bytesNo
coordinate_unitsNoNormally auto. STEP/STP/3MF use embedded units normalized to mm. STL units are resolved from measured bounds and supplied engineering context; ambiguous scale requires one clarification.auto
expected_length_mmNoOptional known approximate longest overall dimension in millimetres. Supply only when known from the user or source evidence, not an invented guess.
engineering_contextNoBrief supplied engineering context, e.g. a full-size passenger car or a GPU cold plate. Do not infer context from a filename alone.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / $defs / ChatAttachment
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Standard JSON input; hosts may also recognize openai/fileParams metadata.",
      -  "properties": {
      -    "download_url": {
      -      "description": "Temporary HTTPS URL supplied by the chat client for this selected attachment. Never invent a URL or substitute a local path.",
      -      "maxLength": 8192,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "file_id": {
      -      "description": "Opaque reference supplied by the chat client. It is not an API key.",
      -      "maxLength": 1024,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "file_name": {
      -      "default": "",
      -      "maxLength": 180,
      -      "type": "string"
      -    },
      -    "mime_type": {
      -      "default": "",
      -      "maxLength": 180,
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "download_url",
      -    "file_id"
      -  ],
      -  "type": "object"
      -}
    • removedInput schema / properties / file / $ref
      Removed value: -"#/$defs/ChatAttachment"
    • addedInput schema / properties / file / additionalProperties
      Added value: +false
    • addedInput schema / properties / file / description
      Added value: +"Standard JSON input; hosts may also recognize openai/fileParams metadata."
    • addedInput schema / properties / file / properties
      Added value: +{
      +  "download_url": {
      +    "description": "Temporary HTTPS URL supplied by the chat client for this selected attachment. Never invent a URL or substitute a local path.",
      +    "maxLength": 8192,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "file_id": {
      +    "description": "Opaque reference supplied by the chat client. It is not an API key.",
      +    "maxLength": 1024,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "file_name": {
      +    "default": "",
      +    "maxLength": 180,
      +    "type": "string"
      +  },
      +  "mime_type": {
      +    "default": "",
      +    "maxLength": 180,
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / file / required
      Added value: +[
      +  "download_url",
      +  "file_id"
      +]
    • addedInput schema / properties / file / type
      Added value: +"object"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false) only say this is a non-destructive network write. The description adds real context: it does not start engineering compute, it may return a pending operation_id instead of the result, poll get_operation at retry_after_seconds, and do not resubmit. It also states safety constraints (never invent a URL/file ID, never expose the temporary URL, no client paths). It stops short of noting whether repeated imports of the same sha256 are deduplicated despite idempotentHint=false.

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?

Front-loaded with the core action and preference, then fallbacks, then constraints. Nearly every sentence carries operational value, though it is dense and mixes tool-selection, unit inference, polling, and prohibition guidance into one block, which makes it longer than a single-tool definition strictly needs.

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 9-parameter, nested-object import with an async path, the description covers the risky parts: unit ambiguity resolution, required vs optional inputs, the pending/operation_id outcome, and downstream workflow continuation; an output schema exists so return shape needn't be described. The remaining holes (project_id/request_id scoping, size_bytes limits near the 5 GB cap, sha256 usage) are minor but real.

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 44% across 9 params, so the description must compensate and largely does: coordinate_units should normally be omitted because STL units come from measured bounds plus context, STEP/3MF use embedded mm; expected_length_mm only when genuinely known; engineering_context from the request, never inferred from a filename. It does not explain project_id, request_id, size_bytes, or when sha256 is worth supplying (dedupe/verification), so a coverage gap remains.

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?

Opens with a specific verb and resource: 'Import an already attached STL/STEP/STP/3MF using the actual file reference supplied by the chat host.' The word 'already attached' and 'file reference supplied by the chat host' immediately separate it from open_surface_upload (user picks a file) and create_upload (server-side path), so an agent can discriminate without opening sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: prefer this over asking the user to re-select; if the host cannot hand off the attachment, use create_upload when commands can run where the file is, otherwise open_surface_upload once; use reconstruct_cad for 3MF before geometry/meshing; reuse known ready artifacts first. It also names the downstream continuation tools (view_geometry, inspect_mesh_geometry) and the correct progress protocol via get_operation.

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