Skip to main content
Glama

Run Simulation

run_simulation

Submit a composite or SED-ML document to compose-api for simulation; receive a simulation ID to poll status and fetch results, or set wait=True for short runs.

Instructions

Submit a composite/SED-ML document to compose-api for simulation.

document_path is a local path to the composite or SED-ML document. By default the run is detached: the tool returns a simulation id and status; poll with simulation_status and collect with fetch_results. Set wait=True to block (up to timeout seconds) and return the terminal status in one call — use only for short runs.

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": {
      "document_path": "<document_path>"
    },
    "name": "run_simulation"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNo
timeoutNo
intervalNo
simulatorNo
descriptionNo
document_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the run is detached by default, that it returns a simulation id and status, and that wait=True blocks for up to timeout seconds. It does not mention permissions/auth, simulator selection behavior, or what happens on failure/cancellation, leaving some gaps for a submission tool with no annotation coverage.

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?

Front-loads the core action in one sentence, then a compact paragraph covering the path parameter and the detached/blocking trade-off. No filler; every clause adds decision-relevant information.

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?

An output schema exists, so return values need only light coverage, which the description provides (simulation id and status). The main shortfall is the undocumented simulator/interval parameters, but the operational workflow for submitting, polling, and collecting is complete enough to call the tool correctly.

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 0% across 6 parameters, so the description must compensate. It covers document_path (local path to composite or SED-ML doc), wait (blocking flag) and timeout (block duration), but leaves interval, simulator and description completely unexplained, so half the parameters carry no meaning anywhere.

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 ("Submit a composite/SED-ML document to compose-api for simulation") and immediately differentiates its role from the follow-up siblings simulation_status and fetch_results. An agent can tell what this does and where it sits in the workflow 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?

Explicitly documents the default detached mode and names the alternative tools for each follow-up step (poll with simulation_status, collect with fetch_results). It also gives a clear conditional exclusion for the blocking path: "use only for short runs" when setting wait=True.

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