Skip to main content
Glama

validate_actions

Read-only

Dry-run validation of a proposed batch of flow-builder actions. Mutates nothing and is safe to repeat. OPTIONAL: apply_actions runs this exact validation itself and applies nothing when invalid, so calling validate_actions first is redundant — use it only to check a draft you do not intend to apply yet. Returns the same errors and warnings apply_actions would report. Note that passing validation does not mean the design is sound; structural rules live in get_design_guidelines.

Input Schema

NameRequiredDescriptionDefault
flowIdNoDefault flow id for actions in the batch that do not carry their own. Optional when every action targets an explicit flow.
actionsYesOrdered batch of at least one action, applied in array order. An invalid batch is rejected up front and applies nothing, but execution itself is NOT atomic: if an action fails mid-batch, execution stops there and the actions before it stay applied — re-read state before retrying.
applicationIdNoApplication (workspace) id. Optional: an application-scoped key (app_...) defaults to its own application, but a personal key (usr_...) has no default and omitting it fails with MCP_APPLICATION_REQUIRED. Call list_applications to get the id.
conversationIdNoOptional id used to group the resulting audit records under one editing session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / actions / items / properties / action / enum
      Previous value: -[
      -  "create_variable",
      -  "create_block",
      -  "update_block",
      -  "create_link",
      -  "create_flow",
      -  "update_flow",
      -  "create_broadcast",
      -  "create_recurrence_schedule",
      -  "attach_recurrence_to_broadcast",
      -  "update_broadcast",
      -  "create_sequence",
      -  "update_sequence",
      -  "create_folder",
      -  "move_flow_to_folder",
      -  "create_operation",
      -  "run_operation",
      -  "delete_block",
      -  "delete_link",
      -  "delete_flow",
      -  "delete_operation",
      -  "delete_broadcast",
      -  "delete_variable",
      -  "update_variable",
      -  "create_media_from_url",
      -  "create_media_from_attachment",
      -  "create_knowledge_base",
      -  "create_knowledge_base_text_document",
      -  "update_knowledge_base_text_document",
      -  "delete_knowledge_base_document",
      -  "import_website_into_knowledge_base",
      -  "update_custom_code_file",
      -  "edit_custom_code_file"
      -]New value: +[
      +  "create_variable",
      +  "create_block",
      +  "update_block",
      +  "create_link",
      +  "create_flow",
      +  "update_flow",
      +  "create_broadcast",
      +  "create_recurrence_schedule",
      +  "attach_recurrence_to_broadcast",
      +  "update_broadcast",
      +  "create_sequence",
      +  "update_sequence",
      +  "create_folder",
      +  "move_flow_to_folder",
      +  "create_operation",
      +  "run_operation",
      +  "delete_block",
      +  "delete_link",
      +  "delete_flow",
      +  "delete_operation",
      +  "delete_broadcast",
      +  "delete_variable",
      +  "update_variable",
      +  "create_media_from_url",
      +  "create_media_from_attachment",
      +  "create_knowledge_base",
      +  "create_knowledge_base_text_document",
      +  "update_knowledge_base_text_document",
      +  "delete_knowledge_base_document",
      +  "import_website_into_knowledge_base",
      +  "update_custom_code_file",
      +  "edit_custom_code_file",
      +  "patch_content"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / actions / items / properties / action / enum
      Previous value: -[
      -  "create_variable",
      -  "create_block",
      -  "update_block",
      -  "create_link",
      -  "create_flow",
      -  "update_flow",
      -  "create_broadcast",
      -  "create_recurrence_schedule",
      -  "attach_recurrence_to_broadcast",
      -  "update_broadcast",
      -  "create_sequence",
      -  "update_sequence",
      -  "create_folder",
      -  "move_flow_to_folder",
      -  "create_operation",
      -  "run_operation",
      -  "delete_block",
      -  "delete_link",
      -  "delete_flow",
      -  "delete_operation",
      -  "delete_broadcast",
      -  "delete_variable",
      -  "update_variable",
      -  "create_media_from_url",
      -  "create_knowledge_base",
      -  "create_knowledge_base_text_document",
      -  "update_knowledge_base_text_document",
      -  "delete_knowledge_base_document",
      -  "import_website_into_knowledge_base",
      -  "update_custom_code_file",
      -  "edit_custom_code_file"
      -]New value: +[
      +  "create_variable",
      +  "create_block",
      +  "update_block",
      +  "create_link",
      +  "create_flow",
      +  "update_flow",
      +  "create_broadcast",
      +  "create_recurrence_schedule",
      +  "attach_recurrence_to_broadcast",
      +  "update_broadcast",
      +  "create_sequence",
      +  "update_sequence",
      +  "create_folder",
      +  "move_flow_to_folder",
      +  "create_operation",
      +  "run_operation",
      +  "delete_block",
      +  "delete_link",
      +  "delete_flow",
      +  "delete_operation",
      +  "delete_broadcast",
      +  "delete_variable",
      +  "update_variable",
      +  "create_media_from_url",
      +  "create_media_from_attachment",
      +  "create_knowledge_base",
      +  "create_knowledge_base_text_document",
      +  "update_knowledge_base_text_document",
      +  "delete_knowledge_base_document",
      +  "import_website_into_knowledge_base",
      +  "update_custom_code_file",
      +  "edit_custom_code_file"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / actions / items / properties / action / enum
      Previous value: -[
      -  "create_variable",
      -  "create_block",
      -  "update_block",
      -  "create_link",
      -  "create_flow",
      -  "update_flow",
      -  "create_broadcast",
      -  "create_recurrence_schedule",
      -  "attach_recurrence_to_broadcast",
      -  "update_broadcast",
      -  "create_sequence",
      -  "update_sequence",
      -  "create_folder",
      -  "move_flow_to_folder",
      -  "create_operation",
      -  "run_operation",
      -  "delete_block",
      -  "delete_link",
      -  "delete_flow",
      -  "delete_operation",
      -  "delete_broadcast",
      -  "delete_variable",
      -  "create_media_from_url",
      -  "create_knowledge_base",
      -  "create_knowledge_base_text_document",
      -  "update_knowledge_base_text_document",
      -  "delete_knowledge_base_document",
      -  "import_website_into_knowledge_base",
      -  "update_custom_code_file",
      -  "edit_custom_code_file"
      -]New value: +[
      +  "create_variable",
      +  "create_block",
      +  "update_block",
      +  "create_link",
      +  "create_flow",
      +  "update_flow",
      +  "create_broadcast",
      +  "create_recurrence_schedule",
      +  "attach_recurrence_to_broadcast",
      +  "update_broadcast",
      +  "create_sequence",
      +  "update_sequence",
      +  "create_folder",
      +  "move_flow_to_folder",
      +  "create_operation",
      +  "run_operation",
      +  "delete_block",
      +  "delete_link",
      +  "delete_flow",
      +  "delete_operation",
      +  "delete_broadcast",
      +  "delete_variable",
      +  "update_variable",
      +  "create_media_from_url",
      +  "create_knowledge_base",
      +  "create_knowledge_base_text_document",
      +  "update_knowledge_base_text_document",
      +  "delete_knowledge_base_document",
      +  "import_website_into_knowledge_base",
      +  "update_custom_code_file",
      +  "edit_custom_code_file"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / actions / items / properties / action / enum
      Previous value: -[
      -  "create_variable",
      -  "create_block",
      -  "update_block",
      -  "create_link",
      -  "create_flow",
      -  "update_flow",
      -  "create_broadcast",
      -  "create_recurrence_schedule",
      -  "attach_recurrence_to_broadcast",
      -  "update_broadcast",
      -  "create_sequence",
      -  "update_sequence",
      -  "create_folder",
      -  "move_flow_to_folder",
      -  "create_operation",
      -  "run_operation",
      -  "delete_block",
      -  "delete_link",
      -  "delete_flow",
      -  "delete_operation",
      -  "delete_broadcast",
      -  "delete_variable",
      -  "create_media_from_url",
      -  "create_knowledge_base",
      -  "create_knowledge_base_text_document",
      -  "update_knowledge_base_text_document",
      -  "delete_knowledge_base_document",
      -  "import_website_into_knowledge_base",
      -  "update_custom_code_file"
      -]New value: +[
      +  "create_variable",
      +  "create_block",
      +  "update_block",
      +  "create_link",
      +  "create_flow",
      +  "update_flow",
      +  "create_broadcast",
      +  "create_recurrence_schedule",
      +  "attach_recurrence_to_broadcast",
      +  "update_broadcast",
      +  "create_sequence",
      +  "update_sequence",
      +  "create_folder",
      +  "move_flow_to_folder",
      +  "create_operation",
      +  "run_operation",
      +  "delete_block",
      +  "delete_link",
      +  "delete_flow",
      +  "delete_operation",
      +  "delete_broadcast",
      +  "delete_variable",
      +  "create_media_from_url",
      +  "create_knowledge_base",
      +  "create_knowledge_base_text_document",
      +  "update_knowledge_base_text_document",
      +  "delete_knowledge_base_document",
      +  "import_website_into_knowledge_base",
      +  "update_custom_code_file",
      +  "edit_custom_code_file"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / actions / items / properties / action / enum
      Previous value: -[
      -  "create_variable",
      -  "create_block",
      -  "update_block",
      -  "create_link",
      -  "create_flow",
      -  "update_flow",
      -  "create_broadcast",
      -  "create_recurrence_schedule",
      -  "attach_recurrence_to_broadcast",
      -  "update_broadcast",
      -  "create_sequence",
      -  "update_sequence",
      -  "create_folder",
      -  "move_flow_to_folder",
      -  "create_operation",
      -  "run_operation",
      -  "delete_block",
      -  "delete_link",
      -  "delete_flow",
      -  "delete_operation",
      -  "delete_broadcast",
      -  "delete_variable",
      -  "create_media_from_url",
      -  "create_knowledge_base",
      -  "create_knowledge_base_text_document",
      -  "update_knowledge_base_text_document",
      -  "delete_knowledge_base_document",
      -  "import_website_into_knowledge_base"
      -]New value: +[
      +  "create_variable",
      +  "create_block",
      +  "update_block",
      +  "create_link",
      +  "create_flow",
      +  "update_flow",
      +  "create_broadcast",
      +  "create_recurrence_schedule",
      +  "attach_recurrence_to_broadcast",
      +  "update_broadcast",
      +  "create_sequence",
      +  "update_sequence",
      +  "create_folder",
      +  "move_flow_to_folder",
      +  "create_operation",
      +  "run_operation",
      +  "delete_block",
      +  "delete_link",
      +  "delete_flow",
      +  "delete_operation",
      +  "delete_broadcast",
      +  "delete_variable",
      +  "create_media_from_url",
      +  "create_knowledge_base",
      +  "create_knowledge_base_text_document",
      +  "update_knowledge_base_text_document",
      +  "delete_knowledge_base_document",
      +  "import_website_into_knowledge_base",
      +  "update_custom_code_file"
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / actions / items / properties / action / enum
      Previous value: -[
      -  "create_variable",
      -  "create_block",
      -  "update_block",
      -  "create_link",
      -  "create_flow",
      -  "update_flow",
      -  "create_broadcast",
      -  "create_recurrence_schedule",
      -  "attach_recurrence_to_broadcast",
      -  "update_broadcast",
      -  "create_sequence",
      -  "update_sequence",
      -  "create_folder",
      -  "move_flow_to_folder",
      -  "create_operation",
      -  "run_operation",
      -  "delete_block",
      -  "delete_link",
      -  "delete_flow",
      -  "delete_operation",
      -  "delete_broadcast",
      -  "delete_variable",
      -  "create_media_from_url",
      -  "create_knowledge_base",
      -  "create_knowledge_base_text_document",
      -  "import_website_into_knowledge_base"
      -]New value: +[
      +  "create_variable",
      +  "create_block",
      +  "update_block",
      +  "create_link",
      +  "create_flow",
      +  "update_flow",
      +  "create_broadcast",
      +  "create_recurrence_schedule",
      +  "attach_recurrence_to_broadcast",
      +  "update_broadcast",
      +  "create_sequence",
      +  "update_sequence",
      +  "create_folder",
      +  "move_flow_to_folder",
      +  "create_operation",
      +  "run_operation",
      +  "delete_block",
      +  "delete_link",
      +  "delete_flow",
      +  "delete_operation",
      +  "delete_broadcast",
      +  "delete_variable",
      +  "create_media_from_url",
      +  "create_knowledge_base",
      +  "create_knowledge_base_text_document",
      +  "update_knowledge_base_text_document",
      +  "delete_knowledge_base_document",
      +  "import_website_into_knowledge_base"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / actions / items / properties / action / enum
      Previous value: -[
      -  "create_variable",
      -  "create_block",
      -  "update_block",
      -  "create_link",
      -  "create_flow",
      -  "update_flow",
      -  "create_broadcast",
      -  "create_recurrence_schedule",
      -  "attach_recurrence_to_broadcast",
      -  "update_broadcast",
      -  "create_sequence",
      -  "update_sequence",
      -  "create_folder",
      -  "move_flow_to_folder",
      -  "create_operation",
      -  "run_operation",
      -  "delete_block",
      -  "delete_link",
      -  "delete_flow",
      -  "delete_operation",
      -  "delete_broadcast",
      -  "delete_variable",
      -  "create_media_from_url",
      -  "create_knowledge_base",
      -  "create_knowledge_base_text_document"
      -]New value: +[
      +  "create_variable",
      +  "create_block",
      +  "update_block",
      +  "create_link",
      +  "create_flow",
      +  "update_flow",
      +  "create_broadcast",
      +  "create_recurrence_schedule",
      +  "attach_recurrence_to_broadcast",
      +  "update_broadcast",
      +  "create_sequence",
      +  "update_sequence",
      +  "create_folder",
      +  "move_flow_to_folder",
      +  "create_operation",
      +  "run_operation",
      +  "delete_block",
      +  "delete_link",
      +  "delete_flow",
      +  "delete_operation",
      +  "delete_broadcast",
      +  "delete_variable",
      +  "create_media_from_url",
      +  "create_knowledge_base",
      +  "create_knowledge_base_text_document",
      +  "import_website_into_knowledge_base"
      +]
  8. Changed1 schema field changed
    • changedInput schema / properties / actions / items / properties / action / enum
      Previous value: -[
      -  "create_variable",
      -  "create_block",
      -  "update_block",
      -  "create_link",
      -  "create_flow",
      -  "update_flow",
      -  "create_broadcast",
      -  "create_recurrence_schedule",
      -  "attach_recurrence_to_broadcast",
      -  "update_broadcast",
      -  "create_sequence",
      -  "update_sequence",
      -  "create_folder",
      -  "move_flow_to_folder",
      -  "create_operation",
      -  "run_operation",
      -  "delete_block",
      -  "delete_link",
      -  "delete_flow",
      -  "delete_variable",
      -  "create_media_from_url",
      -  "create_knowledge_base",
      -  "create_knowledge_base_text_document"
      -]New value: +[
      +  "create_variable",
      +  "create_block",
      +  "update_block",
      +  "create_link",
      +  "create_flow",
      +  "update_flow",
      +  "create_broadcast",
      +  "create_recurrence_schedule",
      +  "attach_recurrence_to_broadcast",
      +  "update_broadcast",
      +  "create_sequence",
      +  "update_sequence",
      +  "create_folder",
      +  "move_flow_to_folder",
      +  "create_operation",
      +  "run_operation",
      +  "delete_block",
      +  "delete_link",
      +  "delete_flow",
      +  "delete_operation",
      +  "delete_broadcast",
      +  "delete_variable",
      +  "create_media_from_url",
      +  "create_knowledge_base",
      +  "create_knowledge_base_text_document"
      +]
  9. Changed2 schema fields changed
    • changedInput schema / properties / actions / items / properties / action / enum
      Previous value: -[
      -  "create_variable",
      -  "create_block",
      -  "update_block",
      -  "create_link",
      -  "create_flow",
      -  "update_flow",
      -  "create_broadcast",
      -  "create_recurrence_schedule",
      -  "attach_recurrence_to_broadcast",
      -  "update_broadcast",
      -  "create_sequence",
      -  "update_sequence",
      -  "create_folder",
      -  "move_flow_to_folder",
      -  "delete_block",
      -  "delete_link",
      -  "delete_flow",
      -  "delete_variable",
      -  "create_media_from_url",
      -  "create_knowledge_base",
      -  "create_knowledge_base_text_document"
      -]New value: +[
      +  "create_variable",
      +  "create_block",
      +  "update_block",
      +  "create_link",
      +  "create_flow",
      +  "update_flow",
      +  "create_broadcast",
      +  "create_recurrence_schedule",
      +  "attach_recurrence_to_broadcast",
      +  "update_broadcast",
      +  "create_sequence",
      +  "update_sequence",
      +  "create_folder",
      +  "move_flow_to_folder",
      +  "create_operation",
      +  "run_operation",
      +  "delete_block",
      +  "delete_link",
      +  "delete_flow",
      +  "delete_variable",
      +  "create_media_from_url",
      +  "create_knowledge_base",
      +  "create_knowledge_base_text_document"
      +]
    • changedInput schema / properties / actions / items / properties / target / description
      Previous value: -"Id of the entity the action operates on (block, flow, variable, broadcast, ...). To reference an entity created earlier in the same batch, use its placeholder id — flow_1, block_1, var_1, broadcast_1, schedule_1, button_1, media_1. get_action_schema lists the full placeholder set."New value: +"Id of the entity the action operates on (block, flow, variable, broadcast, ...). To reference an entity created earlier in the same batch, use its placeholder id — flow_1, block_1, var_1, broadcast_1, schedule_1, button_1, media_1, operation_1. get_action_schema lists the full placeholder set."
  10. Changed8 schema fields changed
    • addedInput schema / properties / actions / description
      Added value: +"Ordered batch of at least one action, applied in array order. An invalid batch is rejected up front and applies nothing, but execution itself is NOT atomic: if an action fails mid-batch, execution stops there and the actions before it stay applied — re-read state before retrying."
    • addedInput schema / properties / actions / items / properties / action / description
      Added value: +"The action kind to perform. Call get_action_schema for the required fields of each kind."
    • addedInput schema / properties / actions / items / properties / data / description
      Added value: +"Action payload. Shape depends on `action` — get_action_schema returns the required and optional fields per kind."
    • addedInput schema / properties / actions / items / properties / target / description
      Added value: +"Id of the entity the action operates on (block, flow, variable, broadcast, ...). To reference an entity created earlier in the same batch, use its placeholder id — flow_1, block_1, var_1, broadcast_1, schedule_1, button_1, media_1. get_action_schema lists the full placeholder set."
    • addedInput schema / properties / actions / items / properties / validation / description
      Added value: +"Optional assertions to check before applying, as returned by get_action_schema."
    • addedInput schema / properties / applicationId / description
      Added value: +"Application (workspace) id. Optional: an application-scoped key (app_...) defaults to its own application, but a personal key (usr_...) has no default and omitting it fails with MCP_APPLICATION_REQUIRED. Call list_applications to get the id."
    • addedInput schema / properties / conversationId / description
      Added value: +"Optional id used to group the resulting audit records under one editing session."
    • addedInput schema / properties / flowId / description
      Added value: +"Default flow id for actions in the batch that do not carry their own. Optional when every action targets an explicit flow."
  11. Changed1 schema field changed
    • changedInput schema / properties / actions / items / properties / action / enum
      Previous value: -[
      -  "create_variable",
      -  "create_block",
      -  "update_block",
      -  "create_link",
      -  "create_flow",
      -  "update_flow",
      -  "create_broadcast",
      -  "create_recurrence_schedule",
      -  "attach_recurrence_to_broadcast",
      -  "create_sequence",
      -  "update_sequence",
      -  "create_folder",
      -  "move_flow_to_folder",
      -  "delete_block",
      -  "delete_link",
      -  "delete_flow",
      -  "delete_variable",
      -  "create_media_from_url",
      -  "create_knowledge_base",
      -  "create_knowledge_base_text_document"
      -]New value: +[
      +  "create_variable",
      +  "create_block",
      +  "update_block",
      +  "create_link",
      +  "create_flow",
      +  "update_flow",
      +  "create_broadcast",
      +  "create_recurrence_schedule",
      +  "attach_recurrence_to_broadcast",
      +  "update_broadcast",
      +  "create_sequence",
      +  "update_sequence",
      +  "create_folder",
      +  "move_flow_to_folder",
      +  "delete_block",
      +  "delete_link",
      +  "delete_flow",
      +  "delete_variable",
      +  "create_media_from_url",
      +  "create_knowledge_base",
      +  "create_knowledge_base_text_document"
      +]
  12. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description is consistent, reinforcing 'mutates nothing and is safe to repeat' — repeatability is extra context annotations don't convey. It also sets expectations on output ('same errors and warnings apply_actions would report') and warns that passing validation is not a soundness guarantee. It does not describe the error/warning payload shape, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the definition in one sentence, then the redundancy warning, then the return-value expectation. Roughly five sentences, each carrying a distinct decision-relevant fact, with no restatement of the name or annotations.

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 read-only dry-run tool whose schema is fully described and whose mutation semantics are covered by annotations, this covers the decision-relevant ground: scope, safety, redundancy with apply_actions, and the limits of what validation proves. Only the shape of the returned errors/warnings is left implicit, which is minor since there is no output schema.

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 schema already documents flowId, applicationId, conversationId, and the action item structure in depth. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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 — 'Dry-run validation of a proposed batch of flow-builder actions' — and immediately names the sibling (apply_actions) it overlaps with. An agent can distinguish it from apply_actions and get_action_schema without opening any 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 says calling validate_actions before apply_actions is redundant, and narrows the correct use case to 'a draft you do not intend to apply yet.' It also routes a related but distinct concern (structural soundness) to get_design_guidelines.

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.