Skip to main content
Glama

inspect_ontology

Retrieve the business ontology, entities, relationships, and metrics, or get detailed information for a specific entity or metric to understand data definitions.

Instructions

Inspect the business ontology, entities, relationships, and metrics.

If entity_or_metric is provided, returns detailed information for that specific entity or metric. Otherwise, returns a complete glossary overview.

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

Input Schema

NameRequiredDescriptionDefault
entity_or_metricNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does disclose the branch-dependent result shape (detail vs. full glossary). However, it says nothing about scope limits, glossary size, permissions, or whether the overview is truncated — relevant for a metadata-dump tool. An output schema exists, so return values need not be spelled out here.

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, front-loaded with the resource being inspected, then the branch condition. No filler, no restatement of the tool name.

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?

For a one-optional-parameter read tool with an output schema, the description covers purpose, both modes, and parameter meaning. The remaining gap is the absence of any guidance on choosing this tool over its siblings, which matters given three related tools in the catalog.

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?

Schema coverage is 0% and the single property has no schema description, so the description must compensate — and it does, defining both what the parameter means and the null/default behavior. It does not specify the accepted naming format or whether unknown values error, which keeps it from a 5.

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 description names a specific verb and resource set — 'Inspect the business ontology, entities, relationships, and metrics' — which is concrete enough to distinguish it from the sibling SQL-execution and question-answering tools. It stops short of explicitly contrasting itself with those siblings, so it lands at clear-but-not-differentiating.

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?

It does explain the two invocation modes: pass `entity_or_metric` for a focused lookup, omit it for a full glossary overview. That is useful mode guidance, but there is no statement of when to prefer this tool over `ask_business_question` or `execute_analytics_sql`, and no exclusions or prerequisites.

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