Skip to main content
Glama

describe_semantic_entity

Retrieve canonical definitions and current states for business entities like Customer, Revenue, or Funnel to maintain consistent data understanding across sessions.

Instructions

Get the canonical definition and state of a business entity (Customer, Revenue, Funnel).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNo

Implementation Reference

  • The handler implementation for the describe_semantic_entity tool, which retrieves schema information from semantic-layer.js and returns entity details.
    case 'describe_semantic_entity': {
      const { describeSemanticSchema } = require('../../scripts/semantic-layer');
      const schema = describeSemanticSchema();
      const entity = schema.entities[args.type] || schema.metrics[args.type];
      if (!entity) {
        throw new Error(`Unknown semantic entity: ${args.type}`);
      }
      return toTextResult(entity);
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IgorGanapolsky/mcp-memory-gateway'

If you have feedback or need assistance with the MCP directory API, please join our Discord server