Skip to main content
Glama

Create a Foundry use case

helix_foundry_create_use_case
Idempotent

Create a use case of a Foundry ontology: an agent's task (such as answering support tickets) whose runs record what the agent read and wrote between its request and its answer. Start a run with helix_foundry_start_use_case_run each time the agent works on a request.

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>",
      "name": "<name>"
    },
    "name": "helix_foundry_create_use_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes1 to 100 characters naming what the agent does, such as Support triage.
descriptionNoWhat the agent does, at most 2,000 characters.
ontology_idYesFoundry ontology identifier.
client_tokenNoAt most 64 characters; the same token returns the use case it made instead of making another.
workspace_idNoHelix workspace identifier. May be empty when the caller has only one workspace (a service key always does).

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
runsYes
originYesperson (an owner or admin made it), or workflow: Foundry made it to record the runs of a workflow (its workflow field) that use this ontology, and only Foundry starts and finishes its runs.
workflowNoThe workflow whose runs it records, for a use case of origin workflow.
created_atYes
descriptionYes
last_run_atNo
ontology_idYes
content_trustNo
finished_runsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is given. The description adds the conceptual model of runs recording reads and writes, but says nothing about permissions on the ontology, name-collision behavior, or what the created object contains beyond what the output schema covers.

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?

Two sentences, zero waste, and the core definition is front-loaded before the follow-up instruction. Nothing is repeated from the schema 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?

An output schema exists, so return values needn't be explained, and the definition covers purpose plus the natural next step. It leaves out error/permission conditions for a mutation on an ontology, a minor gap for a create tool with full annotation and schema coverage.

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 client_token idempotency contract and empty-workspace rule, are already documented in the schema. The description adds no meaning beyond that and never mentions the parameters, so the baseline of 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?

Specific verb and resource ('Create a use case of a Foundry ontology') followed by a concrete definition of what a use case is (an agent's task whose runs record reads and writes). It also names the sibling that handles runs, so an agent can tell creation apart from execution without opening either schema.

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?

Gives a clear follow-up rule: call helix_foundry_start_use_case_run each time the agent works on a request. This establishes the create-then-run workflow, though it doesn't say when not to create one (e.g. if a use case already exists) or point to list_use_cases for reuse.

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