Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

Get job status

get_job
Idempotent

Read job state, progress, quality/result summary and artifact IDs, including retained diagnostics after failure. For finished geometry, mesh or published simulation results, automatically prepares/reuses one default interactive 3D browser view. Mesh and simulation jobs also return geometry_viewer, the source surface's link: include it in the reply when the geometry was requested. Open viewer_url in the chat's browser and end your reply with its labelled link, unasked; if viewer has operation_id, finish get_operation first. Do not create unrequested sections or restart a failed/cancelled view automatically. awaiting_decision means compute has finished and nothing is charged unless the mesh is accepted: report result.review and quality, then ask the user or explicitly authorized agent to accept/discard through review_job or authorize a new attempt. Stop polling this state; do not resubmit automatically. Report available residuals, forces and y+ with their qualification; no field export does not imply no metrics. Read events and owned summary artifacts before claiming evidence is missing. Numerical nonconvergence/step limits and publication/integrity failures are different outcomes; never auto-rerun. On failure, explain error.title and error.message, report its evidence and follow error.action. error.stage and ran_for say where and after how long; stage_source=last_observed is not a confirmed failure location. Unknown cause must stay unknown; same_request_may_succeed is advisory, never retry authorization. Tell the user in plain words and agree any new attempt with them. For a finished simulation (converged, diverged or stopped at its iteration limit) it also returns convergence_chart: show its viewer_url as a labelled residual history link every time (see view_convergence_history). If submission_unknown, do not submit a replacement: operator reconciliation is needed. A job's queue.message says why it hasn't started (waiting in the queue, for example jobs per person, or waiting for GPU); pass it on to the user and keep polling. starting_machine and waiting_for_gpu mean the job is starting, not queued. A simulation whose result.stage is initialising, prepare*, or cpu_prep before gpu_started is true is preparing the simulation (reading and partitioning the mesh); say 'preparing simulation', not that it is solving. After gpu_started, mesh_*, partition or setup is GPU set-up; solve with iterations_started false is compiling. Waiting isn't charged. While a native mesh runs, result.stage, running_seconds against estimated_seconds (estimated_seconds_high is the upper bound), and memory_in_use_gb of memory_reserved_gb say what it is doing; report them rather than only that it is running. Poll at least five seconds apart.

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

Input Schema

NameRequiredDescriptionDefault
job_idYes
prepare_viewerNoPrepare one default browser view after completion. False only when the user declines visualization, never to poll; saved viewer links may still be returned.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / prepare_viewer / description
      Previous value: -"Prepare one default browser view automatically after completion. Set false when the user declines visualization or wants status only; saved viewer links may still be returned."New value: +"Prepare one default browser view after completion. False only when the user declines visualization, never to poll; saved viewer links may still be returned."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds far more than the annotations: the awaiting_decision state means compute is finished and nothing is charged until acceptance; queue.message, starting_machine and waiting_for_gpu have specific meanings; stage_source=last_observed is not a confirmed failure location; same_request_may_succeed is advisory and never retry authorization. The description also explains that the tool prepares or reuses a 3D viewer as a side effect, which is consistent with readOnlyHint=false rather than contradicting it.

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

Conciseness3/5

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

It is front-loaded with what is returned, which is correct, and most sentences carry operative agent instructions rather than filler. However, it is a very long single block mixing state semantics, failure handling, viewer instructions and polling cadence with no visual structure, which makes it harder to scan than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a polling/status tool with an output schema and 2 parameters, the description covers the hard parts an agent would otherwise get wrong: state interpretation, billing implications, failure triage via error.title/message/action/stage, submission_unknown handling, and viewer link obligations. Nothing essential to calling it correctly appears to be missing.

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 50%, but the description compensates: it explains that the tool automatically prepares/reuses one default interactive view and that prepare_viewer should be false only when the user declines visualization, never for polling. job_id's meaning is only implied by the description's framing of 'job state', which is the remaining gap, but the more ambiguous parameter is well covered.

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 opening sentence names a specific verb and resource set (job state, progress, quality/result summary, artifact IDs, retained diagnostics after failure) and later distinguishes itself from siblings by pointing to review_job, get_operation and view_convergence_history. An agent can tell exactly what this tool returns and what it does not do 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?

Explicit when/when-not guidance throughout: poll at least five seconds apart, stop polling on awaiting_decision, do not resubmit on submission_unknown, finish get_operation first when the viewer carries an operation_id, and route accept/discard decisions through review_job. It also states the negative cases (never auto-rerun, no unrequested sections, no restarting a failed view), which is unusually complete routing guidance.

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