Skip to main content
Glama

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
NameRequiredDescriptionDefault
typeNo

Implementation Reference

  • 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);
    }
  • 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'] },
        },
      },
    }),
  • The helper function that provides the semantic schema definition used by the tool handler.
    function describeSemanticSchema() {
      return SemanticSchema;
    }

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