Skip to main content
Glama

Build a version

build_effect
Idempotent

Build a version of the effect from a patch and see it checked and drawn. The user's project does not change.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "build_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNoWith patch: the build of this session whose spec the patch applies to (0 = the latest get_project's spec) — to start again from one that built after a failed or a probing build. Full build replies list the bases.
muteNoLint warnings to stop seeing for this session, where the rule cannot know a layer's intent (decorative stars are no sparks): each a few words of the warning as the build printed it, its layer in brackets — "[Star Fountain] round blobs". Replaces the session's list; [] clears it. Errors are never muted.
specNoInstead of patch: a whole effect spec (its format: describe_kit topic "spec"). Call get_project for the current project first, including after a project switch or a new session.
viewNoDraw the sheets on a fixed world rectangle instead of a framing of everything that shows (one oversized layer shrinks the rest): "framing" — the open project's Framing — or { minX, maxX, minY, maxY } in world px, y up (a 1080×1920 screen centred on the effect: -540…540, -960…960). Kept for the session's next builds, patches too; "auto" goes back to framing everything.
briefNoFor this call, return a text-only build with lint, picture warnings, bones, atlas estimate and changed patch paths. Use look with its build number for images. Defaults to false.
patchNoChanges to the last spec sent to build_effect in this session (before any, to get_project's spec; with base, to that build's). The usual way to build; [] builds it again as it is (to see it on a new view). At most 150 operations — more, set a whole layer in one, or send the whole spec. A layer by its id, wherever it sits: "#sparks" (the layer as listed), "#sparks.sizeMode" (a particle's setting — it holds), "#g.settings.emitterScaleY", "#g.layers[-]" (a Group's) — inserts before it shift nothing. A drawOrder lists layers top first; the layers it leaves out go below the listed ones in their own order, so add a new layer's id to it. Send neither patch nor spec to check the open project as it is.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brief
      Added value: +{
      +  "description": "For this call, return a text-only build with lint, picture warnings, bones, atlas estimate and changed patch paths. Use look with its build number for images. Defaults to false.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / base / description
      Previous value: -"With patch: the build of this session whose spec the patch applies to (0 = the latest get_project's spec) — to start again from one that built after a failed or a probing build. Every build's answer lists them."New value: +"With patch: the build of this session whose spec the patch applies to (0 = the latest get_project's spec) — to start again from one that built after a failed or a probing build. Full build replies list the bases."
  3. Changed1 schema field changed
    • changedInput schema / properties / patch / description
      Previous value: -"Changes to the last spec sent to build_effect in this session (before any, to get_project's spec; with base, to that build's). The usual way to build; [] builds it again as it is (to see it on a new view). At most 60 operations — more, send the whole spec. A drawOrder lists layers top first; the layers it leaves out go below the listed ones in their own order, so add a new layer's id to it. Send neither patch nor spec to check the open project as it is."New value: +"Changes to the last spec sent to build_effect in this session (before any, to get_project's spec; with base, to that build's). The usual way to build; [] builds it again as it is (to see it on a new view). At most 150 operations — more, set a whole layer in one, or send the whole spec. A layer by its id, wherever it sits: \"#sparks\" (the layer as listed), \"#sparks.sizeMode\" (a particle's setting — it holds), \"#g.settings.emitterScaleY\", \"#g.layers[-]\" (a Group's) — inserts before it shift nothing. A drawOrder lists layers top first; the layers it leaves out go below the listed ones in their own order, so add a new layer's id to it. Send neither patch nor spec to check the open project as it is."
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare non-destructive, idempotent behavior, and the description reinforces this with the key trait an agent most needs: "The user's project does not change" — a build that is preview-only. It does not add anything about lint output, failure modes, or probing builds, which the schema hints at but the description leaves out.

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?

Two tight sentences with the action front-loaded and the non-mutation guarantee second. "See it checked and drawn" is slightly vague about what is returned, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex tool (6 params, nested spec and patch operations, no output schema), and the description covers only the core gesture. Given that the schema is fully annotated, the essential contract is present, but nothing is said about build replies, failures, or how to inspect results — which the description could have summarized.

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 100%, so every parameter (base, patch, spec, view, mute, brief) is thoroughly documented in the schema itself. The description only alludes to the patch path; baseline 3 applies since the schema carries the semantic load.

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?

States a concrete verb and resource ("Build a version of the effect from a patch") and adds the outcome ("checked and drawn"). It implicitly distinguishes itself from mutating siblings via "The user's project does not change," but never names edit_project or save_to_files, so differentiation requires inference.

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

Usage Guidelines3/5

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

The description implies this is a preview/build step that leaves the project untouched, which hints at when to use it, but it gives no explicit when-not guidance or alternative. The routing detail ("Call get_project for the current project first", "the usual way to build", "send neither patch nor spec to check the open project") lives in the schema, not in the description.

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