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
| Name | Required | Description | Default |
|---|---|---|---|
| type | No |
Implementation Reference
- adapters/mcp/server-stdio.js:433-441 (handler)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); }