describe_reliability_entity
Retrieve definitions and current status for business entities like Customer, Revenue, or Funnel to support data reliability and consistency checks.
Instructions
Get the definition and state of a business entity (Customer, Revenue, Funnel). Aliased to describe_semantic_entity.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No |
Implementation Reference
- adapters/mcp/server-stdio.js:433-441 (handler)The handler logic for describe_semantic_entity (which is the actual implementation for the describe_reliability_entity tool). It retrieves the entity definition from the SemanticSchema via describeSemanticSchema().
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); } - scripts/tool-registry.js:186-194 (registration)Registration of the describe_reliability_entity tool in the tool registry.
name: 'describe_reliability_entity', description: 'Get the definition and state of a business entity (Customer, Revenue, Funnel). Aliased to describe_semantic_entity.', inputSchema: { type: 'object', properties: { type: { type: 'string', enum: ['Customer', 'Revenue', 'Funnel'] }, }, }, }), - scripts/semantic-layer.js:86-88 (helper)The helper function that provides the semantic schema definition used by the tool handler.
function describeSemanticSchema() { return SemanticSchema; }