Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

Upload a local CAD or STL file

create_upload

Upload a STL/STEP/STP/3MF file from a machine where you can run commands (coding agents, CI, headless agents) without a picker and without the file passing through the model. Run the returned transfer.command there, replacing the quoted path argument with a shell-quoted absolute path; HTTP errors exit nonzero, and success prints the verified ready artifact. The token covers one file for 15 minutes: never share it or use it for another file. Retry the same transfer while valid; call again after expiry. Give size_bytes with sha256 only if already known, to enforce them or reuse an identical verified upload. Reuse a known ready artifact first; for a host attachment use import_surface_attachment; without command access use open_surface_upload. 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. Does not start compute.

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

Input Schema

NameRequiredDescriptionDefault
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. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations it discloses real operational behavior: the token covers exactly one file for 15 minutes and must not be shared, the returned transfer.command must be run with a shell-quoted absolute path, HTTP errors exit nonzero, and success prints the verified ready artifact, plus "Does not start compute." Minor omissions remain (what happens on a partially failed transfer, whether an interrupted upload leaves a dangling artifact), which keeps it off a 5.

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?

The critical constraint (no picker, no file through the model) is front-loaded, and nearly every sentence carries distinct operational information — token lifetime, error behavior, alternative routing, unit rules. It is a dense run-on block though, and the unit guidance is repeated almost verbatim from the coordinate_units schema description, which is mild redundancy.

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 multi-step, 8-parameter tool this is close to complete: it describes the handoff to the returned transfer.command, the credential's scope and lifetime, and the unit-resolution policy. With an output schema present it does not need to document return values in detail, and the remaining gap is the unexplained project_id/request_id and any guidance on associating the resulting artifact with a project.

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 description coverage is only 38%, so the description needs to compensate, and it does for the risky parameters: it explains that size_bytes should accompany sha256 only when already known, that coordinate_units should normally be omitted with STEP/3MF using embedded units, and that engineering_context comes from the request rather than filename inference. However, project_id and request_id are never explained in either place, so half the low-coverage parameters remain ambiguous.

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 names a concrete verb and resource ("Upload a STL/STEP/STP/3MF file") and immediately qualifies the delivery mechanism ("from a machine where you can run commands... without a picker and without the file passing through the model"), which is precisely what separates it from its upload siblings. An agent can identify this tool's niche 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 Guidelines5/5

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

It gives explicit when-to-use conditions (coding agents, CI, headless agents with shell access) and names the alternatives for the other cases: import_surface_attachment for host attachments, open_surface_upload when there is no command access, reuse of a known ready artifact first, and reconstruct_cad for 3MF. It also states the retry/expiry protocol, so the agent knows when to call again versus stop.

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