Skip to main content
Glama

Run a prepared Foundry action

helix_foundry_execute_operation
Destructive

Run the Foundry action helix_foundry_prepare_operation prepared: the same operation, target and payload, with its confirmation. A confirmation runs once, and the action is never retried. A client that can ask the person asks them first, and runs it only on their yes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "operation": "<operation>",
      "target": "<target>",
      "payload": "<payload>",
      "confirmation_id": "<confirmation_id>",
      "confirmation_token": "<confirmation_token>"
    },
    "name": "helix_foundry_execute_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesThe target prepared.
payloadYesThe payload prepared, unchanged.
operationYesThe operation prepared.
confirmation_idYesThe confirmation_id helix_foundry_prepare_operation returned.
confirmation_tokenYesThe confirmation_token helix_foundry_prepare_operation returned.

Output Schema

NameRequiredDescriptionDefault
resultYesUntrusted result: what the operation made or changed: an ontology, sync, generation, version, load, document (with its reads), document set, review decision, the sample's data (add_sample_data: its connector, sync, document set and documents), dashboard, workflow, a workflow's run (run_workflow), or the Assistant's runtime or helper; a delete_dashboard or delete_workflow gives {deleted: true} with its dashboard_id or workflow_id.
targetYes
operationYes
content_trustYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=false and readOnly=false, so the safety profile is known; the description adds genuinely new behavior — the confirmation is single-use and the action is never retried, which tells the agent a failed call cannot simply be re-issued. What it does not cover is the outcome of a failed execution or how to re-obtain a confirmation after a failure, so it stops short of full disclosure.

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?

Three short sentences, front-loaded with the action and its source, then the consumption rule, then the consent rule. The opening clause ('the Foundry action helix_foundry_prepare_operation prepared') is slightly tangled by the embedded tool name, but nothing is redundant.

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 destructive, non-idempotent mutation with five required parameters, an output schema and full annotations, the description supplies the missing pieces: provenance from the prepare tool, single-use confirmation, no retry, and consent. Only post-failure recovery guidance is absent, which keeps it from a 5.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns one extra point by constraining the semantics — operation, target and payload must be the same values that were prepared, not re-derived by the caller. It adds no format detail for confirmation_id/confirmation_token, which the schema already handles.

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 ('Run') and a specific resource ('the Foundry action helix_foundry_prepare_operation prepared'), and explicitly binds the executed operation/target/payload to what the prepare tool produced. That single clause distinguishes it from helix_foundry_prepare_operation and from the other execute_* siblings.

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

Usage Guidelines4/5

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

Makes the required precondition (a prior prepare call supplying operation, target, payload and confirmation) unmistakable, and adds the human-in-the-loop rule: ask the person first and run only on their yes. It does not enumerate alternative paths when no confirmation exists, but the prepare→execute pairing is clear enough that no alternative is needed.

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