Skip to main content
Glama

ap_change_flow_status

ap_change_flow_status
DestructiveIdempotent

Enable or disable a published flow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowIdYesThe id of the flow
statusYesThe new status: ENABLED to activate the flow, DISABLED to pause it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is already carried by structured data. The description adds nothing on top of that: it does not say what disabling actually does to in-flight runs, triggers, or schedules, nor that the operation is repeatable/safe to re-issue.

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 efficient sentence with the action front-loaded and zero filler. It is arguably under-specified for a destructive mutation, but nothing in the 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?

For a small two-parameter mutation with full schema coverage and no output schema, the essentials are present, but the description omits the publish precondition and the downstream effects of toggling status, which are the pieces an agent would most need beyond the structured fields.

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% and the status enum is self-documenting ('ENABLED to activate, DISABLED to pause it'). The description's only added nuance is that flowId must point at a published flow, which is already implied by the body text, so baseline 3 applies.

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?

The description gives a specific verb pair (enable/disable) and resource (flow), and the qualifier 'published' narrows scope. It does not, however, differentiate itself from adjacent siblings such as ap_lock_and_publish, ap_delete_flow, or ap_rename_flow, so an agent still has to infer the boundary.

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 guidance, no prerequisite (e.g., that the flow must already be published), and no mention of alternatives for pausing/activating behavior. The 'published' qualifier implies a precondition but never states it explicitly.

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