Skip to main content
Glama

Get a saved supply chain simulation run

run_simulation
Read-onlyIdempotent

Return the saved SC Builder engine run of a sample supply chain model: metrics, orders, shipments, routing and inventory series, verbatim. This server runs no engine; a model without a saved run answers 'not available here'. Quote the numbers verbatim.

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

Input Schema

NameRequiredDescriptionDefault
model_idYesWhich sample model (see list_models)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / model_id / description
      Previous value: -"Which sample model to simulate"New value: +"Which sample model (see list_models)"
    • changedInput schema / properties / model_id / enum
      Previous value: -[
      -  "simple-sc-demo",
      -  "cookie-making"
      -]New value: +[
      +  "simple-sc-demo"
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "details": {
      -      "description": "Full run detail: config, locations, materials, routing, demands, orders, shipments, inventory_timeseries",
      -      "type": "object"
      -    },
      -    "metadata": {
      -      "description": "Model name, version, timestamp",
      -      "type": "object"
      -    },
      -    "metrics": {
      -      "description": "Top-line scalar KPIs (orders, shipments, simulation_days)",
      -      "type": "array"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • changedInput schema / properties / model_id / enum
      Previous value: -[
      -  "simple-sc-demo",
      -  "cookie-making",
      -  "supply-chain-demo"
      -]New value: +[
      +  "simple-sc-demo",
      +  "cookie-making"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / model_id / enum
      Previous value: -[
      -  "simple-sc-demo",
      -  "cookie-making",
      -  "supply-chain-demo",
      -  "bottling-line-fitted"
      -]New value: +[
      +  "simple-sc-demo",
      +  "cookie-making",
      +  "supply-chain-demo"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / model_id / enum
      Previous value: -[
      -  "simple-sc-demo",
      -  "cookie-making",
      -  "supply-chain-demo"
      -]New value: +[
      +  "simple-sc-demo",
      +  "cookie-making",
      +  "supply-chain-demo",
      +  "bottling-line-fitted"
      +]
  5. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety bar is low; the description adds real behavioral context by disclosing that no engine executes here and that missing runs return a fixed 'not available here' message. It does not indicate payload size or pagination for the long time series, which is the remaining gap.

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?

Three short sentences, front-loaded with the return payload before the constraint. The 'verbatim' instruction is stated twice (once mid-sentence, once as a closing imperative), which is mild redundancy but keeps the emphasis where it matters.

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?

With one parameter and no output schema, the description carries the burden of describing returns and does so by naming the five data sections. The only shortfall is that the response envelope/format is not characterized, which matters for large series payloads.

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 coverage is 100% and the single model_id parameter already carries an enum and a pointer to list_models, so the description has nothing left to explain. Baseline 3 applies since the schema does all the parameter work.

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 ('Return the saved SC Builder engine run of a sample supply chain model') and enumerates the payload contents (metrics, orders, shipments, routing, inventory series). This clearly separates it from explain_simulation (conceptual) and the get_*_result siblings that belong to other demos.

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

Usage Guidelines4/5

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

Gives a clear use condition (retrieve a saved run) and an explicit when-not: models with no saved run answer 'not available here' because the server runs no engine. It never names a sibling alternative (e.g. explain_simulation for concepts), so routing is implied rather than fully spelled out.

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