Skip to main content
Glama

Start a use case run

helix_foundry_start_use_case_run
Idempotent

Start a run of a Foundry use case when the agent takes on a request. Pass the run's id as use_case_run_id to helix_foundry_read_graph, helix_foundry_ask, helix_foundry_send_pieces and helix_foundry_complete_document_upload while working on it: each records what it read or wrote under the run. Finish it with helix_foundry_finish_use_case_run and the agent's answer. A use case of origin workflow takes none: Foundry runs those.

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": {
      "ontology_id": "<ontology_id>",
      "use_case_id": "<use_case_id>"
    },
    "name": "helix_foundry_start_use_case_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoThe run's initial request, as the agent was given it, at most 64 KiB. Optional here: send it with helix_foundry_finish_use_case_run instead.
ontology_idYesFoundry ontology identifier.
use_case_idYesThe use case, as helix_foundry_create_use_case or helix_foundry_list_use_cases returned it.
client_tokenNoAt most 64 characters; the same token returns the run it started instead of starting another.
workspace_idNoHelix workspace identifier. May be empty when the caller has only one workspace (a service key always does).

Output Schema

NameRequiredDescriptionDefault
idYes
nextNo
inputNo
countsYes
outputNo
statusYes
assessmentNoIts assessment, once it finished: how much what it read made its answer. A run that made no call to the ontology has none: it isn't assessed.
started_atYes
finished_atNo
use_case_idYes
content_trustYes
from_workflow_run_idNoFor a run Foundry started: the workflow run it records (helix_foundry_get_workflow_run's run_id; its use case's workflow names the workflow). Not a use_case_run_id: this run's own id is id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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=false, destructiveHint=false, idempotentHint=true, openWorldHint=false, and the description adds real lifecycle context beyond them: that the run accumulates the reads/writes of the named tools and that workflow-origin use cases are excluded from this tool entirely. It does not mention failure modes (e.g., what happens with an invalid use_case_id or a token reuse collision) but covers the essential behavioral contract.

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 description is front-loaded with the purpose, then the run lifecycle, then the workflow-origin exception; every sentence carries operative information. It is a dense single paragraph, and splitting the exception into its own line would aid scanning, but there is no 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?

For a run-orchestration tool with an output schema already describing return values, the description supplies the full call sequence, the propagation rule for the run id, and the scope exception, leaving nothing an agent needs in order to invoke it correctly.

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 all five parameters, including the deferred 'input' and the client_token deduplication rule, are already documented in structured data. The description adds only the downstream meaning of the returned run id (use_case_run_id), which is usage guidance more than parameter semantics, 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?

The description gives a specific verb and resource ('Start a run of a Foundry use case') plus the triggering condition ('when the agent takes on a request'), and it is clearly distinguishable from the sibling helix_foundry_finish_use_case_run that terminates the same run.

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 states when to call it, what to do during the run (pass use_case_run_id to helix_foundry_read_graph, ask, send_pieces, complete_document_upload), how to end it (helix_foundry_finish_use_case_run with the answer), and an explicit exclusion: workflow-origin use cases take no run because Foundry runs those.

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