Skip to main content
Glama

Flowlines - MCP Analytics

Prepare an action

prepare_action
Idempotent

Take a Flowlines action on before you work on it, when the user asks you to. The action moves to Prepared, so the team sees that an agent has it. Returns the action with its steps and the criteria Flowlines will check. When execution.mode is native, the work happens in the Flowlines app: give the user the page link instead. When it is guided, the user does it on another site: give them the steps, and they mark it done in the Flowlines app. Ask the user before any step that publishes or changes something outside the repository. Preparing a prepared action again changes nothing. A completed, dismissed or expired action cannot be prepared.

Input Schema

NameRequiredDescriptionDefault
reasonYesA short phrase saying why you are calling this tool, for example: find unpaid invoices.
action_idYesAction ID from list_actions, or from a prompt copied from the Flowlines app.
user_intentYesOne sentence describing what the user is trying to accomplish. Keep it the same across calls until the user's goal changes.
namespace_idYesFlowlines namespace UUID.

Output Schema

NameRequiredDescriptionDefault
dataYes
noticeNo
truncationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the visible side effect (the action moves to Prepared so the team sees an agent has it), the return payload contents, the precondition set that blocks the call, and an approval requirement before externally-visible changes. The idempotency statement reinforces rather than contradicts the annotation.

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?

The state change and ownership signal are front-loaded, and later sentences each carry a distinct rule (mode branching, ask-before-publishing, idempotency, eligibility). Slight redundancy between the idempotency sentence and the annotation, plus an awkward first clause, keep it below 5.

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

Completeness4/5

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

For a state-mutating tool with an output schema, the description covers preconditions, mode-dependent follow-up, and confirmation requirements. The only soft spot is that 'execution.mode' is referenced without saying where the agent obtains it, though that is presumably in the returned action.

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 all four parameters are documented in-schema, including where action_id comes from. The description adds nothing about parameter formats or constraints, so the schema does the heavy lifting and 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 names a specific verb and resource – it takes a Flowlines action and moves it to the Prepared state so the team can see an agent owns it – which separates it from read-only siblings like get_action and list_actions. The opening clause 'Take a Flowlines action on before you work on it' is grammatically awkward, but the state-transition effect is stated explicitly right after.

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?

It gives an explicit trigger ('when the user asks you to'), branches by execution mode (native: hand over the app page link; guided: hand over the steps and let the user mark it done), mandates asking the user before any step that publishes or changes something outside the repository, and states exclusions (already-prepared actions are a no-op; completed, dismissed or expired actions cannot be prepared).

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