You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mcp.WithDescription("Get the schema for a specific data stream in Parseable. The full content of the stream is typically in the 'body' field as a string."),
mcp.WithDescription(`Get the complete field schema for a Parseable data stream.
15
+
Use this to discover field names, data types, and structure before constructing queries.
16
+
Calls /api/v1/logstream/<streamName>/schema.
17
+
18
+
Returns a JSON object with a 'fields' array containing field definitions for each available field in the stream.
19
+
Each field includes:
20
+
- name: the field name (string)
21
+
- data_type: the data type of the field (e.g., "String", "i64", "f64", "bool", "DateTime")
22
+
23
+
Use this tool to understand what fields are available for filtering, grouping, or selecting in query_data_stream operations.
24
+
`),
25
+
mcp.WithString("streamName", mcp.Required(), mcp.Description("Name of the data stream to get the schema for. Example: 'otellogs' or 'monitor_logstream'. Stream must exist in Parseable.")),
mcp.WithDescription(`Get info for a Parseable data stream by name. Calls /api/v1/logstream/<streamName>/info.
16
-
17
-
Returned fields:
18
-
- createdAt: when the data stream was created (ISO 8601)
19
-
- firstEventAt: timestamp of the first event (ISO 8601)
20
-
- latestEventAt: timestamp of the latest event (ISO 8601)
21
-
- streamType: type of data stream (e.g. UserDefined)
22
-
- logSource: array of log source objects
23
-
- log_source_format: format of the log source (e.g. otel-logs)
24
-
- fields: list of field names in the log source
25
-
- telemetryType: type of telemetry (e.g. logs, metrics, traces)
14
+
mcp.WithDescription(`Get comprehensive metadata information for a Parseable data stream.
15
+
Use this to understand stream composition, available fields, and data ingestion timeline.
16
+
Calls /api/v1/logstream/<streamName>/info.
17
+
18
+
Returns a JSON object with the following structure:
19
+
20
+
- createdAt: ISO 8601 timestamp when the data stream was created
21
+
- firstEventAt: ISO 8601 timestamp of the first event (null if stream has no events)
22
+
- latestEventAt: ISO 8601 timestamp of the most recent event (null if stream has no events)
23
+
- streamType: classification of the stream (e.g., "UserDefined", "System")
24
+
- logSource: array of log source objects describing data sources
25
+
- log_source_format: format of the ingested data (e.g., "otel-logs", "json", "logfmt")
26
+
- fields: array of field names available in this data source
27
+
- telemetryType: category of telemetry data (e.g., "logs", "metrics", "traces")
28
+
29
+
Use this tool before querying a stream to understand its fields and structure.
26
30
`),
27
-
mcp.WithString("streamName", mcp.Required(), mcp.Description("Name of the data stream (e.g. otellogs)")),
31
+
mcp.WithString("streamName", mcp.Required(), mcp.Description("Name of the data stream to get info for. Example: 'otellogs' or 'monitor_logstream'. Stream must exist in Parseable.")),
0 commit comments