Skip to main content
Glama

replace_policy_bundle

Atomically replace the provider-and-catalog policy bundle using an expected revision, preventing conflicting updates to Langflow 1.12.x workflow policies.

Instructions

Atomically replace the provider-and-catalog policy bundle using an expected revision (Langflow 1.12.x).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoOptional change reason, max 1024 characters
expected_revisionYesRevision read before the replacement
blocked_model_keysNo
approved_provider_idsYes
blocked_template_keysYes
blocked_component_keysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.12.2

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations the description carries the full burden, and it does disclose two meaningful traits: atomicity ('Atomically') and optimistic concurrency (matching against an 'expected revision'). However, it omits what the replacement destroys, whether elevated permissions are required, and the failure behavior on stale revisions.

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?

A single dense sentence with the verb and operation front-loaded and no filler. The trailing version tag '(Langflow 1.12.x)' is marginally useful context rather than padding.

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

Completeness2/5

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

For a destructive, concurrency-guarded mutation with no annotations, no output schema, and six parameters, one sentence is far too thin. An agent lacks the revision-read prerequisite, the consequences of replacement, and the meaning of the blocked/approved lists.

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

Parameters2/5

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

Schema description coverage is only 33%, so the description must compensate, and it does not. It alludes to the provider/catalog scope but never explains the four required arrays (approved_provider_ids, blocked_component_keys, blocked_template_keys, blocked_model_keys) or how replacing interacts with them.

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 specific verb (replace) and resource (provider-and-catalog policy bundle), and the atomic qualifier plus 'provider-and-catalog' scope distinguishes it from the granular siblings like replace_model_provider_policy. It stops short of explicitly naming those siblings, so an agent must infer the whole-bundle-vs-single-policy distinction.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no alternative named. It never points to get_policy_bundle for reading the revision nor to rollback_policy_bundle for reverting, despite both being close siblings. The 'expected revision' phrase hints at a read-first workflow but does not state it.

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