Skip to main content
Glama

process_build

Make an input a stochastic process around its forecast: the five rows the Risk dock writes and edits — the forecast moved to a deck row, an innovation drawn afresh each period, a persistence coefficient (mean-reverting) or a drift (random walk), the shock they accumulate into, and the node itself now calculated as the deck met by the shock. The node keeps its name and uid, so everything that reads it goes on reading it; the grid does not move until a simulation runs. Never write these rows by hand: the built shape carries the calibration that makes the volatility the settled spread and the gate that holds the shock at nought through closed periods, and the dock can read and edit it. memory mean_reverting (the default: a shock decays, the spread settles at the volatility) or random_walk (each period adds a fresh shock, the volatility is per period and the spread grows as √n — an exchange rate, an equity price). scale proportional (a price, a rate, a volume: the error is a percentage and the level cannot go negative; volatility is log-space, 0.2 ≈ ±20%) or absolute (a margin, a growth rate: the error is in the row's own units). Defaults come from the distribution the node already carries; a spread typed as a distribution is replaced, not kept beside.

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

Input Schema

NameRequiredDescriptionDefault
nameYesAn input node.
modelYesModel uid (`model_…`), from model_list.
scaleNoDefault from the node's distribution, else proportional.
memoryNoDefault mean_reverting.
volatilityNoLog-space for proportional (0.2 ≈ ±20%), the row's units for absolute. Default from the node's distribution, else 0.2 proportional.
persistenceNoShare of last period's shock carried into this one; mean-reverting only. Default 0.8. 0.5 is a half-life of one period, 0.9 of six or seven.
driftPerYearNoRandom walk only: the trend, per year — 0.05 for +5% a year on a proportional process, or the annual step in the row's units for an absolute one. Default none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotent=false, destructive=false), it discloses what actually happens: the node keeps its name and uid so downstream readers are unaffected, the grid does not move until a simulation runs, volatility is normalized to the settled spread, and shocks are gated to zero through closed periods. It also warns that an existing typed distribution is replaced rather than preserved — exactly the side effect an agent needs before calling a non-idempotent mutation.

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?

The purpose is front-loaded in the first clause, but the text is a dense multi-clause run-on packing defaults, semantics, and warnings into very long sentences. Nearly all content earns its place, yet the packing makes it harder to scan than a short structured form would.

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 7-parameter mutation with no output schema, the description covers the created artifacts, the effect on node identity, and the timing of grid recalculation. Gaps remain: it does not say what is returned, what happens if the node already carries a process, or whether a forecast must exist first.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100% (baseline 3), the description adds real meaning beyond the schema: mean_reverting vs random_walk is explained behaviorally (shock decays and spread settles vs spread grows as √n), persistence is given a half-life interpretation (0.5 ≈ one period, 0.9 ≈ six or seven), and scale is tied to concrete cases (level cannot go negative; log-space vs row units). This materially improves correct parameter choice.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb+resource: converting an input node into a stochastic process by writing five specific rows (forecast on a deck row, innovation, persistence/drift, accumulated shock, recalculated node). That is far more specific than the name alone. It stops short of naming a sibling (e.g. process_list) to contrast against, so differentiation is inferred from the mutation framing rather than stated.

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?

It gives a clear directive about the alternative path — 'Never write these rows by hand' — because the built shape carries calibration and the closed-period gate a hand write would lose. It also gives selection guidance with worked examples (exchange rate or equity price → random_walk; price/rate/volume → proportional; margin/growth rate → absolute). No explicit statement of when the tool is inappropriate (e.g. node already has a process), so it is strong but not exhaustive.

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