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

TableJSON 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",
      -  "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"
      +]
  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",
      -  "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"
      +]
  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"
      -]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"
      +]
  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",
      -  "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"
      +]
  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"
      -]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"
      +]
  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_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"
      +]
  7. 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."
  8. 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."
  9. 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"
      +]
  10. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Even with readOnlyHint=true in annotations, the description adds meaningful behavioral detail beyond the annotation: it is safe to repeat, returns the same errors/warnings as apply_actions, and passing validation does not mean the design is sound. It also discloses that apply_actions execution is non-atomic flagging state-re-read needs.

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?

Every sentence earns its place: the dry-run behavior is front-loaded, followed by the redundancy warning, the return-value equivalence, and the design-soundness caveat. The wording is compact, direct, and free of filler.

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?

There is no output schema, but the description says the tool returns the same errors and warnings apply_actions would report. Combined with rich parameter schemas covering placeholders, defaults, and application-id handling, and the explicit limitation about design guidelines, nothing needed to call it correctly is missing.

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%, so the baseline is 3. The description itself adds no new parameter-level meaning; however, the schema already documents flowId defaults, applicationId scoping and MCP_APPLICATION_REQUIRED failure, action placeholders, and the non-atomic retry caveat.

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?

The description opens with 'Dry-run validation of a proposed batch of flow-builder actions,' which names a specific verb, resource, and scope. It also contrasts with apply_actions by stating it mutates nothing, so the tool's role is unambiguous even among many siblings.

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?

The description explicitly says apply_actions already runs this exact validation and applies nothing when invalid, so calling validate_actions first is redundant. It then states the only intended use case: checking a draft you do not intend to apply yet. This is precise when-to-use and when-not-to-use guidance.

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.