Skip to main content
Glama

Get an ontology version

helix_foundry_get_version
Read-onlyIdempotent

Get one version of a Foundry ontology with its definition (such as a generation's draft before it is made current) and load_refusal: why create_load would refuse it, absent when it would load it. document_set_ids are the sets it was given; document_reads says which of them its routes read (read_set_ids) and which it only stores (unread_set_ids: searchable, nothing extracted into the graph). An agent bundle comes with its open questions (definition.questions; a default is the agent's suggestion, not a decision) and what the draft left out of its sources (definition.left_out, each with its reason; tables lists every synced table by the id the definition uses), each with, when the agent said, because: "not_assessed" (it ran out of budget before it looked; a new generation can pick it up), {"user_asked": {"said": the user's own words}} (the user asked to leave it out) or {"documents_state": {"route", "item"}} (documents already state it through the route extraction.; item is a link or Type.prop), but not the agent's working draft: to act on an answer, or to read what it left out, generate again with that in the goal. A definition past 256 KiB is refused, with its load_refusal.

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

Input Schema

NameRequiredDescriptionDefault
version_idYesOntology version identifier.
ontology_idYesFoundry ontology identifier.
workspace_idNoHelix workspace identifier. May be empty when the caller has only one workspace (a service key always does).

Output Schema

NameRequiredDescriptionDefault
versionYes
content_trustYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent/non-destructive profile, and the description adds genuinely extra behavior: load_refusal appears only when create_load would refuse, is absent when it would load, and a definition past 256 KiB is refused with a corresponding load_refusal. That is a concrete precondition/size limit an agent cannot get from the annotations, though error behavior for a nonexistent version_id is never mentioned.

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 purpose is front-loaded, but the remainder is a single sprawling run-on sentence chaining nested parentheticals (definition.left_out, tables, because variants with embedded objects) that is hard to parse. Much of this detail restates return-value semantics that an output schema already supplies, so the length is not earning its place.

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?

With an output schema, rich annotations and 100% schema coverage, the definition is more than complete enough to invoke correctly, and the extra explanation of load_refusal and left_out 'because' variants supports interpretation of complex results. The only omission is failure behavior when the version does not exist.

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 ontology_id, version_id and workspace_id are already documented in the schema, and the description adds no format, defaulting or validation detail for any of them. Baseline 3 applies because the schema carries the parameter burden entirely.

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?

The first clause gives a specific verb and resource: 'Get one version of a Foundry ontology with its definition', and the parenthetical '(such as a generation's draft before it is made current)' disambiguates version-from-ontology. It never names helix_foundry_get_ontology or helix_foundry_get_generation to draw the boundary explicitly, so the differentiation is inferential rather than stated.

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

Usage Guidelines3/5

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

There is one real routing instruction: the tool 'does not' return the agent's working draft, and to act on an answer or read what was left out you should 'generate again with that in the goal' — a clear exclusion plus alternative. However, nothing states when an agent should call this rather than get_ontology, get_generation or get_load, which is the more common selection question given the sibling list.

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