Skip to main content
Glama

interchange_save_pipeline

DestructiveIdempotent

Writes an Interchange pipeline asset's package to its .uasset file on disk, persisting in-memory pipeline changes after creation or property edits.

Instructions

Write the package of an Interchange pipeline asset (a UInterchangePipelineBase loaded by object path) over its .uasset on disk, dirty or not, through the shared asset save; saved false makes success false and save_error carries the measured cause. It is the persist step after interchange_create_pipeline_asset and interchange_set_pipeline_properties, which change memory only; repeating it is idempotent. Like save_asset it refuses during PIE and under a read-only root. A path that does not load as a pipeline is an error.

Returns: { pipeline_path: string, file_path: string, saved: bool, save_error?: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pipeline_pathYesObject path of the pipeline asset whose package is written to disk (loaded via LoadObject, must be a UInterchangePipelineBase).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare idempotentHint and destructiveHint, and the description corroborates idempotence while adding real context: it writes 'dirty or not', saved=false forces failure with save_error carrying the cause, and the PIE/read-only-root refusals. This goes beyond the flags, though it leans on the annotation-provided safety profile.

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?

Front-loaded with the write action and outcome contract in the first sentence, followed by prerequisites, reversibility, and constraints. Dense but every clause carries information; the run-on structure is the only mild cost.

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

Completeness5/5

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

Though there is no output schema, the description supplies the return shape (pipeline_path, file_path, saved, save_error?), the failure semantics, ordering relative to sibling tools, and execution constraints – everything needed to call it correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the single parameter is already documented as an object path. The description reinforces the load semantics (LoadObject, must be UInterchangePipelineBase) and adds that a non-pipeline path is an error, clarifying valid input beyond the schema.

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 (write/save the package of an Interchange pipeline asset over its .uasset), and explicitly positions itself against named siblings interchange_create_pipeline_asset and interchange_set_pipeline_properties. An agent can distinguish it without opening the schema.

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

Usage Guidelines5/5

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

Explicitly frames itself as 'the persist step after' the create/set tools that 'change memory only', and names concrete blocking conditions (refuses during PIE and under a read-only root). This is clear when-to-use plus when-it-fails guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools