Skip to main content
Glama

Get a Foundry workflow

helix_foundry_get_workflow
Read-onlyIdempotent

Get one Foundry workflow with its spec and revision. A spec is a graph: {"v": 1, "nodes": [...], "edges": [{"from", "to", "branch"}]}, at most 50 nodes and 100 edges. A node is {"id": 1 to 32 lowercase letters, digits, - or _, starting with a letter or digit, "kind", "config", "position": {"x", "y"} (where the canvas draws it)}. Exactly one node is the trigger, with no edge in; every other node is reached from it, with no cycle. Kinds and their configs: trigger {"kind": "schedule", "every": "hour", "minute": 0-59, "time_zone"} | {"kind": "schedule", "every": "day", "at": "HH:MM", "time_zone"} | {"kind": "schedule", "every": "week", "weekday": "monday" … "sunday", "at": "HH:MM", "time_zone"} (an IANA zone, such as Europe/London: the person's) | {"kind": "sync_finished", "connector_id", "outcome": "succeeded" | "failed" | "any"} | {"kind": "load_ready", "ontology_id"} | {"kind": "document_arrived", "set_id"} | {"kind": "generation_finished", "ontology_id", "outcome"} | {"kind": "reviews_waiting", "ontology_id", "at_least": 1 to 10000} | {"kind": "manual"}; assistant {"instruction": 1 to 2000 characters, run as a Founder turn as the owner, "allow": up to 10 actions it may run unasked (anything else it prepares waits for the owner)}; action {"operation": "sync_connector", "connector_id"} | {"operation": "create_load", "ontology_id"} (its current version) | {"operation": "publish_dashboard", "dashboard_id"} (refresh its public snapshot); condition {"check": "answer", "equals": "yes" | "no"} (of the Founder step before it, which ends by reporting a yes or no) | {"check": "count", "op": "at_least" | "at_most" | "equals", "value"} (of the documents that arrived, the rows a sync wrote, the cards to review, or a Founder step's reported count), with exactly one edge in and its out edges each "branch": "true" or "false"; notify {"message": at most 500 characters}: emails the owner, with what the Founder steps before it said. A reviews_waiting trigger fires when the ontology's current load has at least that many review cards open, once its reviews are sorted, and again only for a new current load or after the count fell below it and rose past it. A step runs once every step before it ended and one of its edges in was taken; a failure stops the steps after it. A step may not sync or load what its trigger waits on (a sync_finished trigger's connector, a load_ready or reviews_waiting trigger's ontology, or the connector whose syncs write a document_arrived trigger's set): each run would start another. A trigger skips work its own workflow started (a sync, a load, or documents a sync it started wrote), directly or through other workflows, and work past a chain of 3 workflows, recording the run skipped and why.

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": {
      "workflow_id": "<workflow_id>"
    },
    "name": "helix_foundry_get_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflow_idYesFoundry workflow identifier.
workspace_idNoHelix workspace identifier. May be empty when the caller has only one workspace.

Output Schema

NameRequiredDescriptionDefault
workflowYes
content_trustYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is fully covered. The description adds the fact that a spec and revision come back and documents the spec grammar in depth, but says nothing about permissions, error cases, or how much of the graph is returned. The bulk of the text describes the returned data model rather than behavior of the call itself.

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

Conciseness2/5

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

The useful sentence is front-loaded, but roughly 400 words of graph-grammar, trigger-kind enumerations and execution semantics follow, dwarfing the one-line operation. Almost none of that detail helps an agent decide to call or how to construct the call, so most sentences do not earn their place.

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 two-parameter read with an output schema, an agent can invoke this correctly from the schema and annotations alone. The description is complete in an off-target way: it exhaustively explains return-value structure (which the output schema should carry) while omitting retrieval caveats, error handling and selection guidance.

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 coverage is 100% and both parameters are already documented in the schema. The description never mentions workflow_id or workspace_id, so it adds no meaning beyond what the schema provides; 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?

"Get one Foundry workflow with its spec and revision" states a specific verb and resource, and the word "one" implicitly contrasts with the list/run siblings. It stops short of naming an alternative, so the distinction from helix_foundry_get_workflow_run must be inferred.

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 explicit when-to-use guidance, no prerequisite (e.g. needing a workflow_id obtained elsewhere), and no mention of when to prefer a sibling such as list_workflow_runs or get_workflow_run. Only the bare word "one" hints at a single-record retrieval.

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