Skip to main content
Glama

Get a Foundry ontology

helix_foundry_get_ontology
Read-onlyIdempotent

Get one Foundry ontology: its current version, versions, loads and generations, and the workspace's document sets: those its current version was given (document_sets) and the rest (other_document_sets). The current version carries load_refusal (why create_load would refuse it) and document_reads (which of its sets its routes read); a listed version has neither, so read one with helix_foundry_get_version. A set with connector is that connection's, named " / ": its syncs write its documents (the newest max_documents at the source), and no action changes it. An API source's set is read with generate_ontology's event_sources mode extraction, never document_set_ids.

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": "helix_foundry_get_ontology"
  }
}

Input Schema

NameRequiredDescriptionDefault
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
loadsYes
ontologyYes
versionsYes
generationsYes
content_trustYes
document_setsYes
current_versionNo
other_document_setsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The description adds substantial context beyond the readOnly/idempotent annotations: it explains load_refusal and document_reads on the current version, why listed versions have neither, and that connector-backed sets are named by connection and stream and are not changed by any action. This is exactly the kind of behavioral and return-value nuance an agent needs.

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 and every clause carries useful information about return fields, alternatives, and special cases. It is dense and could be broken into shorter sentences for readability, but there is no filler or repetition.

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 read-only tool with an output schema and full parameter coverage, the description supplies the remaining judgment-critical context: which version fields exist, when to use get_version, how connector-backed sets behave, and how API-source sets are read. Nothing an agent needs in order to call it correctly appears to be missing.

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 ontology_id and workspace_id are documented in the schema. The description does not add parameter-specific meaning beyond the schema, so the baseline score of 3 is appropriate.

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 opens with a specific verb and resource: 'Get one Foundry ontology,' then immediately enumerates the returned scope (current version, versions, loads, generations, document sets). It clearly distinguishes this from helix_foundry_get_version by explaining that listed versions lack certain fields and should be read with that tool.

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?

It gives explicit routing guidance for version detail via helix_foundry_get_version and for API source document sets via generate_ontology's event_sources mode. It does not explicitly state when to use this tool versus list_ontologies, but the get-one versus list distinction is implied by the tool name and by the description's scope.

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