Interactive charts, pivot tables, terminal cards, live TUI, and Excel export inside AI agents.
Whatif is installed from its publisher's own source and answers where it runs, so this marketplace is not in the path of a single call. There is no address here to send one to, and a panel that pretended otherwise would be showing you an answer we made up. Install it and call it from your own client — the Installation tab has the entry for each one.
What it does
Conversational what-if simulation: build, diagnose and compare Petri-net models; CC0 catalog.
Quickstart
# 1 — add it to Claude Code
claude mcp add --scope user --transport http whatif-mcp https://sim.pflow.xyz/mcp
# 2 — ask your agent for something these tools do
# sim_accept_migration, sim_bind, sim_calibrate and 53 more
Whatif costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.
Collected from a public index. Nobody has claimed this account, so nothing here was written by its author — claim it if it is yours.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. Nothing here runs on your machine and nothing runs on ours: this server answers at its publisher’s own address, and what you install is the connection straight to it.
This is a public server: it answers at its publisher’s own address and this marketplace is not in the path. Claude Code registers it in one command; --scope user makes it available in every project. The transport below is http, as the publisher's own manifest declares it.
claude mcp add --scope user --transport http whatif-mcp https://sim.pflow.xyz/mcpReconnect, or start a new session, and the tools appear in the model’s tool list.
One config entry pointing straight at the publisher’s own address — this marketplace is not in the path, and nothing from this listing executes on your machine.
56 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Carry offered taxonomic edges of a superseded model forward to its current successor. edges lists 1 to 25 edge ids that sim_migration_offers(model) offered; pass successor (the current it returned) so a different current successor — a re-point or a chain that grew since — is refused rather than followed. Every edge is checked before anything is written (it must touch model, be offered, pass sim_li
| Parameter | Type | Required | Notes |
|---|---|---|---|
| edges | array | yes | 1 to 25 edge ids sim_migration_offers(model) offered |
| model | string | yes | content id of the superseded model |
| successor | string | no | the current successor sim_migration_offers returned; a different current successor now is refused |
Record a checked connection between two stored models' declared ports, fromModel's fromPort (a place tagged port.output) feeding toModel's toPort (a transition tagged port.input), as a content-addressed Binding (ROADMAP.md Phase 9/11f). Checked now, by the same binds-port-v1 rule sim_run_pipeline applies: both ports exist with the right direction and element kind, the output is a token place, the
| Parameter | Type | Required | Notes |
|---|---|---|---|
| convertFactor | number | no | how many convertTo one convertFrom is (1 convertFrom = convertFactor convertTo), between 1e-06 and 1000000; sim_run_pipeline multiplies the resampled rate by it, after any numeric transform |
| convertFrom | string | no | a declared unit conversion's source unit: exactly fromPort's port.unit. Pass convertFrom, convertTo and convertFactor together or none of them |
| convertTo | string | no | a declared unit conversion's target unit: exactly toPort's port.unit, which must differ from fromPort's |
| delay | number | no | hours after the source's flow that toPort receives it, in (0, 10000]; default unset, no delay. Before the delay ends toPort runs on its own declared rate. A loop between models runs only through a bin |
| fromModel | string | yes | id of the model supplying the connection's output |
| fromPort | string | yes | element id of the declared output port on fromModel: a token place tagged port.output (see GET /api/models/{id}/ports) |
| toModel | string | yes | id of the model receiving the connection |
| toPort | string | yes | element id of the declared input port on toModel: a rated transition tagged port.input |
| transform | string | no | how fromPort's value becomes toPort's. A plain non-negative number is applied by sim_run_pipeline as a scale factor on the resampled rate; it scales, never converts a unit. Any other text (a unit note |
Calibrate a model against YOUR event log — the reading that meets reality. Upload CSV (case_id, activity, timestamp; the shape sim_dataset emits, activities = transition ids), and rates are learned from the observed timings: sources from inter-arrival times, services from the gap before their completions, all per hour. Instant-pickup transitions (declared rate >= 100) keep their declared rate — th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id to calibrate |
| log | string | yes | the event log, as CSV text |
Tell whether two differently-labelled models are actually the same net: an isomorphism-invariant id computed from the model's EXACT automorphism orbits (orbits.go), not the colour-refinement (WL) kind sim_classify falls back to when the exact search can't decide. Two models differing only by renaming places or transitions share the same canonicalId even though their content-addressed ids (from sim
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id |
Re-check a stored structural witness against both stored models with the independent checker (pkg/morphism), which does no search. Given a structural edge's id, checks every witness of that edge; an edge with none answers unwitnessed (unproven, not disproved). Verdicts: valid, invalid (the map is not a morphism of the stored models), or uncheckable (a model was deleted, a net is malformed, or the
| Parameter | Type | Required | Notes |
|---|---|---|---|
| derivation | string | no | a sim_query derivation (JSON, as an object or a string holding one): {"predicate", "definition", "subject", "object", "steps": [{"edge", "witness", "inverse"}], "composed"} |
| id | string | no | a witness id, or a structural edge's relation id |
| reach | string | no | a sim_reach answer, the object exactly as returned (or that object serialized as a string) |
| reachResult | string | no | the content id of a stored sim_reach answer (sim_reach's result) |
| refutation | string | no | a refuted sim_prove answer's refutation, the object exactly as returned (or that object serialized as a string): {"predicate", "subject", "object", "counterexample"} |
Discover the parameter classes of a stored model and return them as JSON-LD with empty annotation slots for you to fill in (label, comment, unit, domain, substitutes — nothing else; membership/kind/evidence are derived and settled by measurement, not yours to edit). With verify=true a shared colour is checked by exact automorphism proof where the search can decide it (settling interchangeability o
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id |
| inline_context | boolean | no | embed the full JSON-LD @context map in the result instead of the URL it is served from (https://sim.pflow.xyz/ns/v1/context). Default false: the URL resolves to the identical map, so only set this for |
| verify | boolean | no | run the permutation experiment (costs simulation; default false, and classes then say they are candidates) |
Derive a Petri-net model from source code with the configured LLM (control-flow, state-machine, resources or concurrency focus) and store it as a NEW model you own when it passes sim_create_model's decode and the model validator. Stored, it returns stored: true with id, url, name, usage and warnings (what sim_create_model would warn about the model, omitted when there is nothing to say). Otherwise
| Parameter | Type | Required | Notes |
|---|---|---|---|
| code | string | yes | source code to analyse |
| focus | string | no | control-flow (default), state-machine, resources or concurrency |
| language | string | no | source language hint, e.g. go, python, javascript |
| name | string | no | name for the derived model; the LLM is asked to use it, and it is filled in, before any check, when the model comes back without one |
Run several scenarios against one model on one shared seed and return them side by side — the seed sharing is server-enforced, so differences are the scenarios, not the dice. Returns a summary by default (finals with finalStdDev, each final count's spread across realizations, throughput/mean/P95 metrics, depletion and contention — no time series); pass full=true for the complete trajectories, whic
| Parameter | Type | Required | Notes |
|---|---|---|---|
| full | boolean | no | include the sample-grid time series in every result (large; default false); a scenario with its own "summary": true is left summarized regardless |
| id | string | yes | model id |
| scenarios | string | yes | JSON array of at most 20 scenarios, each with a name, e.g. [{"name":"today","hours":8},{"name":"one more","hours":8,"marking":{"staff/available":3}},{"name":"bigger batches","hours":8,"params":{"batch |
List the component registry: pre-baked subnet templates (arrivals, service, hazard, inventory, decision, mailbox, datastore) with the calibration discipline baked into the arcs and rates. Each entry names its ports (places you can attach onto existing places), its params with recommended defaults, and the discipline notes explaining WHY the template is shaped the way it is. Compose them with sim_c
No parameter schema on file.
Instantiate a registry component into a model and store the result as a NEW content-addressed model you own (lineage recorded when composing onto an existing id). Omit id to start a model from the component alone; pass attach to fuse a component port onto one of the model's existing places (e.g. attach {"queue": "tickets_queue"} wires a hazard onto the service's queue). Prefix namespaces the creat
| Parameter | Type | Required | Notes |
|---|---|---|---|
| attach | string | no | JSON object mapping port name -> existing place id |
| component | string | yes | registry component name (see sim_components) |
| id | string | no | model to compose onto; omit to start fresh |
| name | string | no | model name for the stored result (kept from the base when composing onto an id) |
| params | string | no | JSON object overriding param defaults, e.g. {"staff": 3} |
| prefix | string | no | instance prefix for created elements (default: component name) |
Check how well a stored model matches an observed event log WITHOUT rewriting its rates — the read sim_calibrate bundles into calibration, offered on its own and in full: fitness (can the model replay each case?), precision (does it allow behaviour never observed?), generalization and simplicity, with per-trace diagnostics naming the activities that could not fire. Also returns a residual block: t
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id |
| log | string | yes | the event log, as CSV text |
Online conformance: replay an ORDERED event stream against a stored model and get a running verdict — does the model still match, or which event was the first that did not, and why. Unlike sim_conformance (whole finished cases, aggregate fitness) the order of events IS the stream's order, cases may interleave, and the answer names the first non-conforming event: its position, case, activity, wheth
| Parameter | Type | Required | Notes |
|---|---|---|---|
| events | string | no | JSON array of {"case": ..., "activity": ..., "timestamp": ...} in stream order |
| id | string | yes | model id |
| keepSteps | boolean | no | include the per-event running fitness (one entry per event) |
| log | string | no | the stream as CSV text (case_id, activity[, timestamp]) in stream order; used when events is not given |
| repairDepth | number | no | most unobserved transitions a repair may use (default 4, at most 64; negative turns repair off) |
Mint a named Collection you own and return its content id. A collection carries no member list of its own — a mutable list would change the collection's own id every time something joined it, the same reason Lineage lives beside a model rather than inside it. Add members with sim_link(collectionID, "hasMember", memberID) — members must be stored entities — and read them back with sim_neighbors(col
| Parameter | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | collection name |
Store a Petri-net model and return its content id and url, plus warnings (omitted when there are none) for a model that stores but probably does not say what was meant: transitions with no rate, which simulations run at the engine default of 1 per hour (each stage of a staged one, in a run without a schedule); a net in which nothing can fire at its declared initial marking; a guard no simulation e
| Parameter | Type | Required | Notes |
|---|---|---|---|
| model | string | yes | the model JSON: name, places, transitions, arcs (sim://docs/authoring has the fields and a worked example) |
Define a System (ROADMAP.md Phase 11f): a content-addressed, stored set of models and the bindings between them, so the catalog can answer questions about them together. Pass collection (snapshot its model and binding members now; other members are listed under skipped, and a grown collection is a new system, the old id still readable) or models and bindings (JSON arrays of ids), not both. Every b
| Parameter | Type | Required | Notes |
|---|---|---|---|
| bindings | string | no | JSON array of binding ids sim_bind returned; their models are included automatically |
| collection | string | no | a collection id whose model and binding members to snapshot (instead of models/bindings); at most 256 members; part of the id |
| models | string | no | JSON array of model ids, e.g. ["id1","id2"] |
| name | string | no | a name for the system (at most 256 bytes); part of its id |
Run every applicable READING of a model against the others and report agreement or divergence with the reason: discrete SSA means vs the continuous mean-field solve, algebraically derived conservation laws vs simulated means, and (for game-schema models) the closed-form incidence ranking vs rollouts vs exact search. Divergence is a finding, not an error — small-count mean-field gaps and the prior'
| Parameter | Type | Required | Notes |
|---|---|---|---|
| hours | number | no | horizon (default 8, max 168) |
| id | string | yes | model id |
| realizations | number | no | SSA runs averaged, max 200 (default 24) |
Generate a synthetic event log from a stored model (seeded SSA playout; case-per-arrival). Returns CSV. Deterministic: same id, same seed, same bytes.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| cases | number | no | cases to generate (default 200, max 2000 over MCP) |
| id | string | yes | model id |
| seed | number | no | PRNG seed (default 1) |
Delete a model you created signed in. Refused for the curated catalog, for models you do not own (a model created without sign-in is nobody's, for good), and for models already dedicated to the commons (a dedication is irrevocable).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id to delete |
Returns what one more of each resource (and a change in each rate) is worth to the outcome, each ranked against a measured noise floor — no fitness test to write. Also reports generic gates (mass balance, dormant sources, staffing knee and practical knee, whether any knob binds), parameter classes among the controls, and four structural readings needing no run (T-invariants, siphons/traps with dea
| Parameter | Type | Required | Notes |
|---|---|---|---|
| hours | number | no | horizon per run (default 8, max 168) |
| id | string | yes | model id |
| inline_context | boolean | no | embed the full JSON-LD @context map in the result instead of the URL it is served from (https://sim.pflow.xyz/ns/v1/context). Default false: the URL resolves to the identical map, so only set this for |
| maxRealizations | number | no | bounds how far the adaptive default may escalate (default 200, the same ceiling an explicit realizations refuses above). Ignored once realizations is set. For a caller with its own latency budget, not |
| realizations | number | no | runs averaged per measurement, max 200. Leave unset and the default ADAPTS: a 24-realization pilot that doubles while the baseline outcome sits inside its own noise floor, up to 200 (or maxRealization |
| seed | number | no | seed shared by every run, so differences measure the knob and not the dice (default 7) |
| verbose | boolean | no | default false: a structural reading that does not apply (ctmcLumping, constrainedLumping, or siphons when its search did not finish) keeps applicable: false and one refusals line, "not applicable: <re |
Structural difference between two stored models: places, transitions and arcs added or removed, and surviving elements whose numbers changed (initial, capacity, rate, stages, arc weight or kind). The readout for what a builder turn, a sim_extend or a sim_refine actually changed between two ids in a lineage.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| a | string | yes | model id (before) |
| b | string | yes | model id (after) |
Distill exact search into the play scorer: fit rate multipliers for named transition groups so play's rankings agree with exact minimax, on positions sampled by random self-play and labeled by search. This is TACTICAL calibration — the counterpart of sim_calibrate, which learns rates from an event log. The division of labor is deliberate (petri-pilot experiments/ode-minimax): structure carries the
| Parameter | Type | Required | Notes |
|---|---|---|---|
| groups | string | yes | JSON object: group name -> transition ids sharing one fitted multiplier, e.g. {"detectors":["x_win_0","o_win_0"],"draw":["call_draw"]} |
| id | string | yes | model id (needs simulation.objective, players with turnPlace) |
| options | string | no | JSON: {"games":20,"positions":40,"iters":40,"horizon":3,"realizations":40,"seed":11,"engine":""} (the defaults shown; 0 or unset takes the default). Caps: games at most 100, positions at most 100, ite |
List every relation touching an entity, as either subject or object. Answered from an index by subject and object; each call re-lists the store so edges written by other instances are seen. Legacy edges whose predicate predates the registry are included with axis "unregistered". Structural edges (isomorphicTo, subnetOf, preservesInvariant, refines) list the witnesses that prove them; one listing n
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | entity id to look up |
Score a player's legal next moves with the PLAY method (the blog post's move picker): apply each candidate hypothetically and score the expected objective of the position it leads to, by seeded SSA rollouts (seed 11, shared across candidates so a difference measures the move, not the dice) — the best move scores highest. Needs the game schema (simulation.objective + simulation.players). The respon
| Parameter | Type | Required | Notes |
|---|---|---|---|
| horizon | number | no | model time to explore ahead (default 3, max 10000) |
| id | string | yes | model id |
| marking | string | no | JSON object, sparse marking override (the position to evaluate from); default = the initial marking |
| player | string | yes | player name from simulation.players |
| realizations | number | no | SSA rollouts per candidate move (default 40, max 200) |
Apply structural edits to a stored model and store the result as a NEW model you own, with lineage back to the original — the same vocabulary the guided builder uses behind its interview, now callable directly. Operations (JSON array, each with "op"): add_place {id, initial}, add_transition {id, guard, event}, add_arc {from, to, weight, kinetic, type}, remove_place, remove_transition, remove_arc {
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id to edit |
| name | string | no | optional name for the edited model |
| operations | string | yes | JSON array of operations |
Fetch a stored prompt or artifact by id as JSON-LD: the two records sim_prompt and sim_reroll store besides a model. An artifact (@type Artifact) is an LLM reply that was not stored as a model — a report, code, or model JSON that failed validation — returned whole as content (the store caps an artifact at 262144 bytes), with contentKind. A prompt (@type Prompt) is what was asked: text, system, llm
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | prompt or artifact id (content hash): sim_prompt's promptId, or its id when kind is "artifact" |
Fetch a stored Binding by id, with its check computed now (binds-port-v1; binds-port-v2 for a binding that declares a unit conversion, which is returned as convert; binds-port-v3 for one that declares a delay, returned as delay in hours): ok (with the unit verdict: agree, converted or unchecked), refused (a binding recorded before the check that sim_bind and sim_run_pipeline would refuse today, fl
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | binding id |
Fetch a stored model's full Petri-net JSON by its content id. A name in place of an id is refused saying to search with sim_list_models' query, and that a model created without sign-in is listed for nobody, so its id is the one its create returned; or naming the curated model's id when a curated model has exactly that name. An id of another stored kind (a prompt or artifact, a sim_reach question o
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id (content hash) |
Derive a model's full algebraic invariant structure: conservation laws (Farkas P-invariants — weighted place sums every run preserves, the arithmetic a trust panel should show), firing cycles (T-invariants, named per-cycle with a readable detail sentence, each tagged StructuralProof), and the siphon/trap report (every minimal siphon and trap found from the arc structure, plus deadlock witnesses —
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id |
Dedicate a model you created to the commons under CC0-1.0, CC-BY-4.0, CC-BY-SA-4.0. It then appears in every user's listing with the license shown, and the dedication is IRREVOCABLE — it cannot be changed or deleted afterwards, which is what makes it safe for others to build on. CC0-1.0 is the cleanest choice for a model: attribution terms are hard to honor for a net someone folds into a larger on
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id to dedicate |
| license | string | yes | one of CC0-1.0, CC-BY-4.0, CC-BY-SA-4.0 |
Record a typed edge between two stored entities (models, prompts, artifacts, maps, collections, bindings, relations — not witnesses), using a registered predicate. sim_link writes these (subject → object): @type (model → a https://sim.pflow.xyz/ns/models/v1 type name); about (artifact/prompt/map/collection → model/collection/binding/system); broader (model/collection/system → model/collection/syst
| Parameter | Type | Required | Notes |
|---|---|---|---|
| object | string | yes | content id of the stored entity the edge points to; for @type, a type name from https://sim.pflow.xyz/ns/models/v1 |
| predicate | string | yes | one of @type, about, broader, cites, closeMatch, hasMember, related |
| subject | string | yes | content id of the stored entity the edge starts from |
List the content id of every stored Binding.
No parameter schema on file.
List the models visible to you, as a JSON array of {id, name, description, license, curated, mine} sorted by name (a field that does not apply is left out): the curated catalog (curated: true), models dedicated to the commons (each carries its license), and your own (mine: true). The curated models are complete, working examples of the model JSON: read one with sim_get_model and copy its shape whe
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | string | no | whitespace-separated terms; lists only the models whose name, description or id contains every term, case-insensitively (each term may match a different field). The description searched is the one lis |
| scope | string | no | which group to list: "curated" (the catalog this server seeds, the worked examples), "commons" (models dedicated to the commons, none of them curated) or "mine" (the models you own, dedicated or not; |
Fetch a stored Map's key->value data by id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | map id |
List the content id of every stored Map.
No parameter schema on file.
Store a key->value lookup table as its own content-addressed entity — a generated parameter sweep, a rate table, a component registry, anything shaped as key->value rather than free text (an artifact) or a Petri net (a model). Returns its content id; the same data, even with keys inserted in a different order, returns the same id.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| data | string | yes | the table as a JSON object |
List what happens to the edges of a superseded model. Taxonomic edges (hasMember, @type, broader, related, closeMatch, cites, about) are OFFERED: each row gives the edge as it would read on the model's current successor (followed through its supersession chain), whether sim_link's checks pass for it now (passes, refused, or unchecked when the store could not answer), any earlier migrations of it,
| Parameter | Type | Required | Notes |
|---|---|---|---|
| after | string | no | the next value a previous call returned, for the following page |
| model | string | yes | content id of the superseded model |
| predicate | string | no | read only this predicate's edges |
List the sheets this user has published, with their URLs.
No parameter schema on file.
One-hop traversal from an entity, read through the predicate registry. With no predicate: the object of every relation where the entity is the subject. With a predicate: the entities one hop along it — for an inverse name that is never stored (narrower) the stored predicate is read backwards (the subjects of the broader edges pointing at the entity), and for a symmetric one (related, closeMatch) b
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | subject id to traverse from |
| predicate | string | no | restrict to this predicate; omit for every outgoing relation |
Multi-objective optimisation over transition rates for a stored model: Monte Carlo samples the rate ranges, runs each combination to the horizon with the continuous engine, and returns every sample with a Pareto flag — the non-dominated set is the trade-off frontier ('which staffing is non-dominated on served vs walked out'). Continuous reading: a model with a schedule or a gate is refused with th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| hours | number | no | horizon per run (default 8, above 0 and at most 10000) |
| id | string | yes | model id |
| objectives | string | yes | JSON array of {"place": id, "direction": "max"|"min"} |
| parameters | string | yes | JSON object transition_id → [min, max] rate range, e.g. {"finish_brew": [10, 40]} |
| samples | number | no | Monte Carlo samples (default 100, 1..1000; outside that is refused) |
| seed | number | no | sampling seed, a whole number (default 42) |
Two-rate grid for a stored model: vary two transition rates over ranges, run each combination to the horizon with the continuous engine, and return the observable's final value as a grid — 'which regime of arrivals × restock keeps the queue empty'. Continuous reading: a model with a schedule or a gate is refused with the reason. Costs 1 token per 50 grid cells (rounded up; a 40x40 grid empties the
| Parameter | Type | Required | Notes |
|---|---|---|---|
| hours | number | no | horizon per run (default 8, above 0 and at most 10000) |
| id | string | yes | model id |
| log_scale | boolean | no | space the grid in log10 (default false) |
| observable | string | yes | place id whose final value fills the grid |
| param_x | string | yes | first transition id |
| param_y | string | yes | second transition id |
| range_x | string | yes | JSON [start, stop, n] for param_x: non-negative rates, n a whole number 2..40 |
| range_y | string | yes | JSON [start, stop, n] for param_y: non-negative rates, n a whole number 2..40 |
Ask an LLM to derive something from a stored entity: a variant model, a report, a piece of generated code — whatever the prompt asks for. The parent's JSON rides along as context after a fixed instruction: answer a request for a new or changed model with only the complete model JSON (the shape sim_create_model takes), and anything else in plain text or markdown. The parent is looked up as a model
| Parameter | Type | Required | Notes |
|---|---|---|---|
| parent | string | yes | id to run the prompt against — a model, prompt, artifact, or map |
| system | string | no | optional system-level instructions, in addition to the parent context this tool always supplies; stored with the prompt, and readable by anyone with its id or a result's |
| text | string | yes | the natural-language instruction; stored with the prompt, and readable by anyone with its id or a result's |
Propose candidate @type values for one or more stored models, e.g. "QueueingSystem" or "ResourcePool", from a small Diagnose run this tool performs on each model (nothing is cached or reused between calls). Every rule is a hand-written assumption about what a shape of knobs/loss/siphons/classes tends to mean, not a structural proof or a measurement, so results are ASSUMPTION-grade until a human re
| Parameter | Type | Required | Notes |
|---|---|---|---|
| ids | string | no | JSON array of model ids to consider, e.g. ["id1","id2"]. Omit to scan every model ListFor("") would list (the public catalog), truncated to limit. |
| limit | number | no | maximum number of models to diagnose (default 10, 1..25; over 25 is refused, and so are explicit ids naming more models than limit) — a cost control, since this runs a simulation per model |
| realizations | number | no | realizations per model's Diagnose run (default 8, 1..16; outside that is refused) — deliberately small, this only needs to name a shape, not measure precise influence |
Prove a structural relation between two stored models and record it with its witness. isomorphicTo: an exact canonical-labelling search (the one behind sim_canonical, seeded with exactly what the check compares) finds a place/transition bijection preserving arcs (direction, type, weight, kinetic), place sort, initial marking, capacity, rate or delay and refine.* tags. It does not compare guards, s
| Parameter | Type | Required | Notes |
|---|---|---|---|
| object | string | yes | content id of the stored model the edge points to |
| predicate | string | yes | isomorphicTo, subnetOf, preservesInvariant or refines |
| record | boolean | no | when proved, store the witness and then the edge; false answers without writing (default true) |
| subject | string | yes | content id of the stored model the edge starts from |
| via | string | no | promote a fact sim_query derived instead of searching (JSON, as a string or an object): {"derivation": <a row's support[].derivation>} or {"result": "<sim_query result id>", "row": n, "support": k} (s |
Publish a stored model into the signed-in user's Google Sheets: the model workbook (live formulas when honest, a refusal tab when not), a server-run scenario as data tabs, and trajectory + contention charts. Returns the sheet URL. Counts against the daily quota, and costs 1 token from your account's compute bucket for the run.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id |
| scenario | string | no | optional scenario JSON to run for the data tabs; sim_scenario's defaults (hours 8, realizations 16, seed 20260809) fill whatever is omitted |
Publish the generated application for a model you own — the single-file HTML a generator produced from the model's view prompt. Served at /app/<id> in a sandboxed opaque origin (no cookies, no session; only the CORS-open public API is reachable). START FROM THE RUNTIME, not from scratch: /lib/app-template.html is a working console that imports /lib/sim-console.js and composes <sim-controls>, <si
| Parameter | Type | Required | Notes |
|---|---|---|---|
| html | string | yes | the complete self-contained HTML document |
| id | string | yes | model id the app presents |
Publish a multi-scenario comparison into the signed-in user's Google Sheets — sim_compare's export, the counterpart of sim_publish for a single scenario. Runs every scenario on one shared seed (the same server-enforced sharing sim_compare uses, so differences are the scenarios and not the dice) and writes a comparison table plus a trajectory chart, rather than one scenario's own data tabs. Returns
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id |
| scenarios | string | yes | JSON array of scenarios, each with a name, e.g. [{"name":"today","hours":8},{"name":"one more","hours":8,"marking":{"staff/available":3}}]; sim_compare's defaults (hours 8 and realizations 16 per scen |
Answer a question over the edge graph between stored models: bounded paths, closure over transitive predicates, and conjunctive patterns of up to 4 triples joined on shared ?variables. The query argument is JSON: {"select": ["?m"], "where": [{"subject": "?m", "predicate": "subnetOf", "object": "<content id>", "mode": "closure"}, {"subject": "?m", "predicate": "@type", "object": "QueueingSystem"}]}
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | string | yes | the query as JSON: {"select": [variables], "where": [{"subject", "predicate", "object", "mode", "maxHops"}]} |
Returns whether the marking to is reachable from the marking from in ONE stored net (a model, or a system that is one net): yes with a firing trace, no with a re-checkable P-invariant (or after an exhaustive search), or unknown with every reason. A sim_compose result is one fused net, so it qualifies; a sim_bind binding or a collection links rates, not tokens, and answers unknown (not-one-net). A
| Parameter | Type | Required | Notes |
|---|---|---|---|
| from | string | no | JSON object of place -> whole token count overriding the declared initial marking, e.g. {"queue": 3}; unset = the declared marking. On a system, a key may be <model>:<place> for a member's place |
| system | string | yes | content id of one stored model, or of a system (sim_create_system) |
| to | string | yes | JSON object of the places to constrain, each to exactly that count, e.g. {"done": 1}. On a system, a key may be <model>:<place> for a member's place, translated into the net's |
Run a seeded scenario and get back the result PLUS a signed run receipt: an Ed25519 certificate over (model id, scenario, result hash, service revision). Anyone can check it two ways — verify the signature offline against the embedded public key (proves this service reported this result), and POST it to /api/receipts/verify (no auth) to replay the run and confirm the result hash reproduces (proves
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id to run |
| scenario | string | no | scenario JSON (hours, samples, seed, marking, rates, schedule, summary — the same shape sim_scenario takes); sim_scenario's defaults (hours 8, realizations 16, seed 20260809) fill whatever is omitted, |
Refine a model's parameter classes by editing what the model SAYS (tags on a place or transition, or assertedClasses), then re-derive. Returns a NEW model id (ids are content addresses, so the original stays reachable) plus a before/after class diff. tags can only split classes; assertedClasses declares a merge and gets re-verified and costed, never trusted blind. Read the sim://docs/classificatio
| Parameter | Type | Required | Notes |
|---|---|---|---|
| assertedClasses | string | no | JSON array, e.g. [{"id":"items","members":["item0","item1"],"note":"one stocking decision"}] |
| id | string | yes | model id to refine |
| signature | string | no | optional hex signature over the CID of the signed claim; see modelstore.SignedClaim for the exact bytes. An unverifiable signature is refused, not stored with a flag. |
| signer | string | no | optional {"type":"eth"|"ed25519","address":"..."} — signs the lineage claim so it is the refiner's word rather than the server's account of a session |
| tags | string | no | JSON object of place OR transition id -> {key: value}, e.g. {"nurse_avail":{"refine.shift":"night"}}. Keys not prefixed refine. are stored as metadata and refine nothing. classify.go's colour refineme |
Re-run a stored sim_prompt against the SAME parent it originally ran against — a sibling attempt, never a chain: it never derives from the previous attempt's output, only from the original parent, so rerolling ten times leaves ten independent siblings in lineage rather than a chain of ten. Reuses the original prompt's text and system unless you override them here; a prompt with no requestTemplate
| Parameter | Type | Required | Notes |
|---|---|---|---|
| prompt | string | yes | id of the sim_prompt (or earlier sim_reroll) to re-run |
| system | string | no | override the original prompt's system text; default reuses it verbatim |
| text | string | no | override the original prompt's text; default reuses it verbatim |
Returns one scenario result per model that a set of stored Bindings (see sim_bind) touches, run as a composed pipeline (each result's contention split into contended, waitingForWork and neverFired exactly as sim_scenario's is), with the assumptions the composition makes, inTransit (per delayed binding, the source's flow its delay carried past the horizon) and, when the set holds a loop, the loop's
| Parameter | Type | Required | Notes |
|---|---|---|---|
| bindingIds | string | yes | JSON array of binding ids to run together, e.g. ["id1","id2"] — every model these bindings touch is included automatically. |
| hours | number | no | horizon in hours, shared across every model in the pipeline (default 8) |
| realizations | number | no | realizations per model (default 0, which the engine runs as a single realization — one SSA trajectory per model, so set it, e.g. 16 as sim_scenario defaults to, when the resampled series should be a m |
| seed | number | no | shared seed across every model's run (default 1) |
Run a seeded what-if scenario against a stored model: marking overrides, rate overrides, piecewise rate schedules, and params assignments to the model's declared structural parameters (arc weights, capacities — batch sizes and shelf sizes). Pure read — asking cannot change the model. Returns trajectory, final marking, metrics, depleted, contended, waitingForWork, neverFired (all three described be
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id |
| scenario | string | no | scenario JSON, e.g. {"hours":8,"samples":60,"realizations":16,"seed":7,"marking":{"staff/available":3},"params":{"batch_size":6},"schedule":{"arrive":[{"until":2,"value":12},{"until":8,"value":4}]},"e |
Mark an old version of your model as replaced by a newer one. The old id keeps working and its commons dedication (if any) stands — only the listing moves on to the successor. Both models must be yours. It also records a supersededBy edge (old → new), so sim_edges(old) and sim_neighbors(old, "supersededBy") show that the supersession happened. Re-pointing an old model to a different successor keep
| Parameter | Type | Required | Notes |
|---|---|---|---|
| new | string | yes | model id of the successor |
| old | string | yes | model id being replaced |
Returns a stored System's view ({id}), the models whose ports can bind to one declared port ({model, port, direction?, among?}), or the stored systems that name a model or a binding ({naming}); one form per call. {id}: the system's view, computed now and never stored (system-view-v2): each model (present, superseded), each binding with its binds-port check (v1, or v2 with its convert when it decla
| Parameter | Type | Required | Notes |
|---|---|---|---|
| among | string | no | a collection (at most 256 members) or system id to search instead of the visible catalog |
| direction | string | no | "output" or "input", needed only when the element declares both |
| id | string | no | a system id from sim_create_system: describe it |
| model | string | no | a model id: with port, what can bind to that port |
| naming | string | no | a model or binding id: list the stored systems that name it |
| port | string | no | the element id of model's declared port |
Verify declared properties of a stored model: a report with one verdict per property, proved, refuted or unknown (unknown is never a pass, and ok is true only when every property is proved), with evidence for a proof and a counterexample for a refutation, plus caveats naming anything the analysis net could not express. Unset properties check bounded and deadlock-free. Every check starts from the m
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | model id |
| properties | string | no | JSON array of properties, each a kind plus the fields that kind reads: deadlock-free, bounded, live, terminating and conserves read none; reachable and unreachable read target (place → token count; pl |
- Every tool — any call limit is its publisher’s, not ours
- No card, and mcprush charges nothing for it
- Runs at its publisher’s own address — this marketplace is not in the path
- Nothing to cap, because mcprush bills nothing
What counts against your monthly calls
| Tool | Unit | Calls used | Out of the allowance |
|---|
Nothing here is billable: mcprush charges nothing to install Whatif or to call it, at any volume.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
| Term | Level | What it prices | Points |
|---|---|---|---|
| capability-exposure | moderate | capability blast radius (moderate) — client exposure if the model is manipulated | −3 |
| coverage-honesty | manifest | inspection depth (manifest) — how much of the target the scan could see | −4 |
What the scan could actually read
A grade is only as meaningful as its coverage, so the scanner publishes its own depth before it publishes its result.
The scan read each tool’s name, description, input schema and annotations exactly as the server listed them the last time it answered us; no code was reviewed. We ask the server again about once a month, and a list that changed is graded again.
The implementation source was not read — this reflects the declared tool metadata only.
Capability — what it could do if the model were manipulated
Tags derived from each tool’s schema and the implementation, not from what the tool calls itself. moderate is the level these add up to.
| Tool | Capability tags | Why the tag was assigned |
|---|---|---|
| sim_accept_migration | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_bind | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_calibrate | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_canonical | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_check_witness | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_classify | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_code_to_flow | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_compare | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_components | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_compose | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_conformance | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_conformance_stream | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_create_collection | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_create_model | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_create_system | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_crosscheck | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_dataset | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_delete_model | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_diagnose | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_diff | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_distill | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_edges | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_evaluate | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_extend | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_get_artifact | untrusted-inputexternal-sink | untrusted-input: keyword "fetch"; external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_get_binding | untrusted-inputexternal-sink | untrusted-input: keyword "fetch"; external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_get_model | untrusted-inputexternal-sink | untrusted-input: keyword "fetch"; external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_invariants | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_license_model | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_link | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_list_bindings | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_list_models | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_map_get | untrusted-inputexternal-sink | untrusted-input: keyword "fetch"; external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_map_list | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_map_put | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_migration_offers | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_my_sheets | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_neighbors | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_optimize | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_param_heatmap | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_prompt | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_propose_types | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_prove | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_publish | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_publish_app | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_publish_compare | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_query | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_reach | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_receipt | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_refine | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_reroll | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_run_pipeline | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_scenario | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_supersede_model | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_system | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
| sim_verify | external-sink | external-sink: declares readOnlyHint: false, destructiveHint: true, openWorldHint: true |
Toxic-flow graph
The lethal trifecta, checked as a graph rather than as a checklist: untrusted input, a sensitive source and an external sink have to meet before there is a path worth worrying about.
Supply chain and provenance
This is the first scan of this surface here, so there is nothing yet to compare it against.
Every result on this tab comes from one deterministic pass over the published package — offline, rule by rule, and auditable line by line above. Same methodology version, same bytes, same score.
Release history
This is an address its publisher runs: which release it serves is theirs to choose, so there is nothing here to pin. The history below is for reading; the current release on file is 1.0.0.
No release note was published with this version.
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish Whatif can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.