Skip to main content
Glama
Hydrata MCP Server

Hydrata MCP Server

Official
by Hydrata

Poll a run's status

get_run_status
Read-onlyIdempotent

Check a Hydrata simulation run's status, phase, and progress, and optionally wait for the run to change before returning an update.

Instructions

Status of a simulation run, optionally waiting for it to move.

Use this instead of get_run. Returns: id, status, phase, status_detail, progress_pct (0-100), eta_seconds, error_message, compute_backend, stability (a complete run's, see get_run) and say_to_user.

FOLLOWING A RUN FROM CHAT: call with wait_seconds=110. The call returns as soon as the status, phase or progress (5 points) changes, or after 110 s, whichever is first. Then RELAY say_to_user to the person (one short line after every call) and call again. Do not sleep or wait yourself between calls: the wait happens inside this call. After about 10 minutes of this in one turn, stop and tell the person to ask you for the status: you cannot watch the run between their messages, and Hydrata emails them when it finishes. If the answer has token_refresh_pending: true, your sign-in is being refreshed: do not call again at once, follow next_step.

phase is never empty: it is status, except preparing_inputs while a computing run has no progress yet (it is downloading its input package and building the domain — minutes on a big model; this is NOT a stall). Terminal states: complete, error, cancelled. A waiting call returns at once on a terminal state.

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

Input Schema

NameRequiredDescriptionDefault
run_idYesThe run ID
wait_secondsNoWait up to this many seconds for the run to move before answering (max 110, the ceiling; larger values are clamped). Returns early when the status, the phase or the progress (by 5 points) changes. Default 0: answer at once.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.4
    • changedInput schema / properties / wait_seconds / description
      Previous value: -"Wait up to this many seconds for the run to move before answering (max 180, the proven ceiling; larger values are clamped). Returns early when the status, the phase or the progress (by 5 points) changes. Default 0: answer at once."New value: +"Wait up to this many seconds for the run to move before answering (max 110, the ceiling; larger values are clamped). Returns early when the status, the phase or the progress (by 5 points) changes. Default 0: answer at once."
  2. Changed1 schema field changedv0.2.2
    • addedInput schema / properties / wait_seconds
      Added value: +{
      +  "default": 0,
      +  "description": "Wait up to this many seconds for the run to move before answering (max 180, the proven ceiling; larger values are clamped). Returns early when the status, the phase or the progress (by 5 points) changes. Default 0: answer at once.",
      +  "type": "integer"
      +}
  3. First observedv0.2.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish readOnly/idempotent/non-destructive, but the description goes well beyond them: early-return triggers (status, phase, or 5-point progress change), the 110 s clamp, terminal states, the `preparing_inputs` non-stall explanation, and the token-refresh backoff. This is exactly the behavioral context an agent cannot get from the annotations alone.

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 purpose, then return fields, then an explicitly labeled operational section ('FOLLOWING A RUN FROM CHAT'), so it is easy to scan. It is dense but nearly every sentence carries usable instruction; the backtick-marked field names add a little visual noise without hurting comprehension.

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?

Covers everything needed to call it correctly: the wait loop protocol, terminal states, phase semantics, error/refresh handling, and the hand-off rule. Return fields are named even though an output schema exists, so nothing an agent needs is 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 100%, so the baseline is 3; the description still adds practical meaning by recommending wait_seconds=110 and explaining what causes an early return and why the agent should not add its own sleep. The remaining gap is minor since the schema already documents both parameters fully.

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 ('Status of a simulation run') plus the modifier ('optionally waiting for it to move'), and explicitly routes away from the sibling: 'Use this instead of get_run.' An agent can distinguish it from get_run without opening either 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?

Gives an explicit operating recipe: call with wait_seconds=110, relay `say_to_user`, call again, do not sleep yourself, and after ~10 minutes stop and hand off to the user because Hydrata emails on completion. It also covers the edge case (token_refresh_pending) and names the alternative (get_run), with a clear condition selecting it.

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