Skip to main content
Glama
OntoLayer MCP Server

OntoLayer MCP Server

by AshubShafqat

list_ontology_versions

Retrieve the ontology version loaded by this immutable server instance to verify which semantic model is active.

Instructions

Get the ontology version loaded by this immutable server instance.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_ontology_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose one genuinely useful behavioral fact — the server instance is immutable, so the returned version is static per instance and there is no refresh/racing concern. It says nothing about permissions, failure modes, or whether the ontology can be absent, which leaves real gaps for an unannotated tool.

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?

A single short sentence with the resource and the scoping constraint front-loaded, and no filler. Every word earns its 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?

Complexity is low and an output schema exists, so return values need no explanation. However, the name says 'list_ontology_versions' (plural) while the description says 'the ontology version' (singular, one per immutable instance), leaving a real ambiguity about whether one or many versions come back, and nothing tells the agent when this lookup is relevant.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate; schema coverage is also 100% by default. Baseline 4 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?

States a specific verb and resource: 'Get the ontology version' and adds scope ('loaded by this immutable server instance'). This clearly separates it from content-oriented siblings like get_concept, get_metric, or list_entities, though it never names an alternative explicitly.

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?

No guidance on when to call this versus other lookup tools, no prerequisites, no exclusions. The only usage-adjacent hint is that the answer is tied to an immutable instance, and even that must be inferred rather than stated as 'call once, the value never changes.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.