@particlr/mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| validate_effectA | Validate a .prt document (JSON string) against the real parse -> migrate -> validate pipeline. Returns ok + the canonical normalized doc + schemaVersion (and the pre-migration version), or structured, path-anchored errors worded for you to fix. |
| simulate_effectA | Deterministically step a .prt effect in Node (no rendering) and report per-layer live counts over time, peak vs capacity, spatial bounds, completion, and a statehash plus the exact {seed, dt, steps} to reproduce it. Same seed + dt sequence => identical output. Validates first; an invalid doc returns validate-shaped errors. |
| list_presetsA | List the shipped .prt presets (name, layer count, schemaVersion) — the few-shot authoring corpus. |
| get_presetA | Fetch one shipped preset by name (stem): its raw .prt text plus a parsed summary. Unknown name returns an error listing the valid names. |
| get_referenceB | Fetch reference material inline: topic "format-spec" (the .prt format spec, markdown) or "schema" (the JSON Schema for a .prt document). |
| render_effectA | CPU-rasterize a .prt effect to PNG image(s): by default one contact-sheet PNG of 16 frames evenly spaced over [0, completion||duration], auto-framed. All builtin + embedded-PNG textures, all five blend modes, flipbook, stretch/velocity-align/flip, per-particle + connect-ribbon TRAILS, and layer draw order are rendered; DISSOLVE is NOT rasterized (a dissolve doc still renders its sprites). Deterministic: frames snap to the same 1/60 trajectory as simulate_effect. Returns image block(s) + a renderHash, the snapped times, the viewport, and the grid. An invalid doc returns validate-shaped errors. |
| open_effectA | Validate a .prt document and store it under a session handle so you can iterate without resending the text. Returns the handle + validate fields (ok, schemaVersion, warnings, errors); pass the handle to patch_effect / validate_effect / simulate_effect / render_effect. Handles live only for this session (server process); they do not survive a reconnect. Capped at 64 per session. |
| patch_effectA | Apply a small list of RFC 6902 ops (replace/add/remove) to a stored effect, then re-validate. Iterate by sending only the diff, not the whole document. Any failure — bad path/index or a post-patch validation error — rolls back: the stored doc is left unchanged and the failing op index is named. Handles live only for this session (server process); they do not survive a reconnect. |
| get_effectA | Fetch the canonical stored .prt text for a handle — use this for final delivery/export after iterating. Handles live only for this session (server process); they do not survive a reconnect. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| authoring-guide | How to author a .prt effect that looks good: units, blend/layer/curve/trail recipes, common mistakes (markdown). |
| format-spec | The .prt document format specification (markdown). |
| particle-schema | JSON Schema for a .prt document (the runtime's committed schema). |
TDQS
Scored across 9 tools
Most tools target distinct actions (validate/simulate/render/patch/open), and descriptions clearly differentiate them. Minor overlap: open_effect also validates and returns validate fields, and get_effect/get_preset/get_reference are all 'fetch' tools, but the resource distinction (session handle vs preset vs reference topic) keeps them separable.
All nine tools follow a consistent snake_case verb_noun pattern (get_effect, validate_effect, simulate_effect, list_presets, get_preset, get_reference, render_effect, open_effect, patch_effect). Verbs are meaningful and resource nouns are reused predictably.
Nine tools is well-scoped for an effect authoring/validation/simulation/rendering workflow, with each tool earning its place (open/validate/patch for iteration, simulate/render for verification, presets/reference for authoring). No redundant or filler tools.
The surface covers the full lifecycle: author (open/patch), validate, simulate, render, export (get_effect), plus presets and reference material for authoring guidance. Minor gap: no close_effect/list_handles to explicitly free or enumerate the 64-handle session cap, but handles being session-only makes this a small workaroundable omission.