Skip to main content
Glama
OntoLayer MCP Server

OntoLayer MCP Server

by AshubShafqat

get_lineage

Retrieves lineage and provenance only for a visible entity, showing its origin and governance within the semantic layer. Use it to trace where that entity came from.

Instructions

Read provenance only for a visible entity.

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": {
      "entity_id": "<entity_id>"
    },
    "name": "get_lineage"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only one trait: that access is limited to entities the caller can see. It says nothing about what happens when the entity is not visible (error vs empty result), whether traversal depth is fixed, or whether results are paginated, despite an output schema existing to cover return shape.

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?

A single short sentence with no filler, and the scope constraint is stated immediately after the action. It is efficient rather than padded, though the brevity comes at the cost of coverage elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one simple parameter and an output schema covering return values, the tool is not complex, but the description omits what lineage/provenance actually contains and how visibility failures surface. For a tool with zero annotation coverage and an undocumented parameter, this leaves meaningful gaps.

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

Parameters2/5

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

Schema description coverage is 0% for the single required entity_id parameter, so the description must compensate and largely does not. The clause "visible entity" implies entity_id must reference something in the caller's visibility scope, which is a small useful hint, but no ID format, accepted entity types, or failure behavior is described.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a verb ("Read") with a resource ("provenance"), so the basic action is identifiable, and it adds the scope qualifier "only for a visible entity." However, "provenance" is not distinguished from sibling capabilities like get_relationships or find_path, so an agent cannot tell from this text how lineage differs from those operations.

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?

There is no statement of when to call this tool, when not to, or which sibling to use instead for related graph questions. The phrase "only for a visible entity" reads as a constraint on inputs rather than guidance on selecting this tool over get_relationships or find_path.

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