TimeBase

v0.2.8
io.github.epam/TimeBase-MCP Checked 6 hours ago Published 21 days ago

Explore and query TimeBase streams, schemas, QQL, symbols, and server status via MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_timebase_instances

List configured TimeBase server instances.

get_server_configuration

Get the MCP server runtime configuration, some TB server configuration fields may be undefined or have default value until the first connection is established.

get_timebase_status

Get TimeBase version, license, and runtime environment. Limited TimeBase server versions support.

ParameterTypeDescription
instance_keyTB instance key. Required when multiple TimeBase instances are configured.

list_timebase_activity

List active cursors, loaders, connections, and locks. Limited TimeBase server versions support.

ParameterTypeDescription
instance_keyTB instance key. Required when multiple TimeBase instances are configured.
kindstringActivity collection to return.
limitintegerMaximum number of rows to return for each requested collection.

get_timebase_activity_detail

Get details for one cursor, loader, connection, or lock. Limited TimeBase server versions support.

ParameterTypeDescription
id *stringCursor/loader numeric id, connection client id, or lock id/guid/client id.
kind *stringActivity object kind to inspect.
include_instrumentsbooleanFor cursor/loader details, include an instrument page.
instance_keyTB instance key. Required when multiple TimeBase instances are configured.
instrument_filterOptional instrument filter when include_instruments is true.
instrument_limitintegerInstrument page size when include_instruments is true.
instrument_offsetintegerInstrument page offset when include_instruments is true.

list_streams

List available TimeBase streams with their descriptions

ParameterTypeDescription
cursorCursor returned by the previous call
instance_keyTB instance key. Required when multiple TimeBase instances are configured.
limitintegerMaximum number of streams to return

get_stream_schema

Get the schema of a specific stream

ParameterTypeDescription
stream_key *stringStream key to inspect
instance_keyTB instance key. Required when multiple TimeBase instances are configured.

get_stream_time_range

Get the time range of a specific stream in UTC

ParameterTypeDescription
stream_key *stringStream key to inspect
instance_keyTB instance key. Required when multiple TimeBase instances are configured.

list_stream_spaces

List spaces for a specific TimeBase stream

ParameterTypeDescription
stream_key *stringStream key to inspect
instance_keyTB instance key. Required when multiple TimeBase instances are configured.

get_stream_space_time_range

Get the time range of a specific stream space in UTC

ParameterTypeDescription
space *stringStream space to inspect; use an empty string for the default space
stream_key *stringStream key to inspect
instance_keyTB instance key. Required when multiple TimeBase instances are configured.

get_stream_symbols

Get the symbols of a specific stream

ParameterTypeDescription
stream_key *stringStream key to inspect
cursorCursor returned by the previous call
instance_keyTB instance key. Required when multiple TimeBase instances are configured.
limitintegerMaximum number of symbols to return

get_stream_messages

Get the first or last N messages from a stream

ParameterTypeDescription
stream_key *stringStream key to inspect
countintegerNumber of messages to retrieve
instance_keyTB instance key. Required when multiple TimeBase instances are configured.
reversebooleanIf true, read from the end of the stream and return the last N messages
spaceOptional stream space to read from; use an empty string for the default space

execute_query

Execute a TimeBase QQL query

ParameterTypeDescription
query *stringTimeBase QQL query text
instance_keyTB instance key. Required when multiple TimeBase instances are configured.
limitintegerMaximum number of result rows to include in preview text

compile_query

Compile TimeBase QQL query. Returns parser-level diagnostics only (not full semantic/logical validation). error_token is the first unexpected token, which may be after the actual root cause.

ParameterTypeDescription
query *stringTimeBase QQL query text
instance_keyTB instance key. Required when multiple TimeBase instances are configured.

list_qql_functions

List QQL function signatures supported by the connected TimeBase server

ParameterTypeDescription
function_idOptional exact QQL function id to return, e.g. ABS or SMA. Letters, digits and underscores only. When provided, TimeBase filters overloads server-side.
instance_keyTB instance key. Required when multiple TimeBase instances are configured.
kindstringFunction category to return

search_logs_kb

Search the TimeBase logs knowledge base using a log excerpt, stack trace, or error text, and return the most relevant troubleshooting matches.

ParameterTypeDescription
query *stringRaw log text, stack trace, or error excerpt to search for.
limitintegerMaximum number of matches to return.