Skip to main content
Glama
INFO.d.ts1.37 kB
import { TimeSeriesAggregationType, TimeSeriesDuplicatePolicies } from '.'; export declare const FIRST_KEY_INDEX = 1; export declare const IS_READ_ONLY = true; export declare function transformArguments(key: string): Array<string>; export type InfoRawReply = [ 'totalSamples', number, 'memoryUsage', number, 'firstTimestamp', number, 'lastTimestamp', number, 'retentionTime', number, 'chunkCount', number, 'chunkSize', number, 'chunkType', string, 'duplicatePolicy', TimeSeriesDuplicatePolicies | null, 'labels', Array<[name: string, value: string]>, 'sourceKey', string | null, 'rules', Array<[key: string, timeBucket: number, aggregationType: TimeSeriesAggregationType]> ]; export interface InfoReply { totalSamples: number; memoryUsage: number; firstTimestamp: number; lastTimestamp: number; retentionTime: number; chunkCount: number; chunkSize: number; chunkType: string; duplicatePolicy: TimeSeriesDuplicatePolicies | null; labels: Array<{ name: string; value: string; }>; sourceKey: string | null; rules: Array<{ key: string; timeBucket: number; aggregationType: TimeSeriesAggregationType; }>; } export declare function transformReply(reply: InfoRawReply): InfoReply;

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/GongRzhe/REDIS-MCP-Server'

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