oracle.oci-logging-mcp-server
v2.0.4OCI Logging Service MCP server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_log_groups
List Log Groups in a given compartment.Only use this tool if the user specifically mentions Log Groups
| Parameter | Type | Description |
|---|---|---|
compartment_id * | string | The OCID of the compartment |
limit | The maximum amount of resources to return. If None, there is no limit. |
get_log_group
Fetch the details of a log group.Only use this tool if the user specifically mentions Log Groups
| Parameter | Type | Description |
|---|---|---|
log_group_id * | string | The OCID of the log group that the log belongs to. |
list_logs
List Log Groups in a given log group.Only use this tool if the user explicitly supplies a Log Group OCID
| Parameter | Type | Description |
|---|---|---|
log_group_id * | string | The OCID of the log group to list logs from. |
limit | The maximum amount of resources to return. If None, there is no limit. |
get_log
Fetch the details of a log. Only use this tool if the user explicitly supplies a Log Group OCID and a Log OCID
| Parameter | Type | Description |
|---|---|---|
log_group_id * | string | The OCID of the log group that the log belongs to. |
log_id * | string | The OCID of the log |
get_paginated_event_types
A paginated guide containing a table that maps an event's description to its event type. Use this to access parts of the large table without loading the entire content.ONLY use this for constructing queries in the search_logs tool where the query needs to filter on log event type.
| Parameter | Type | Description |
|---|---|---|
page | integer | The page number to retrieve |
page_size | integer | Number of event types per page |
search_logs
Perform an advanced search on logs. Useful for searching for logs on specific resources, specific events, or from specific time frames. A query must be constructed to run this tool. For detailed query syntax and examples, you MUST access resource://search-log-query-syntax-guide.For a table full of all support event types, you MAY access get_paginated_event_types.Always include a link to the logging plugin with the inputted query and time range in the response.
| Parameter | Type | Description |
|---|---|---|
search_query * | string | The log search query. |
time_end * | string | End filter log's date and time, in the format defined by RFC 3339.If not supplied, set this value to the current date time. The time must be supplied in UTC timezone. |
time_start * | string | Start filter log's date and time, in the format defined by RFC 3339.If not supplied, set this value to five minutes prior to the current date time. The time must be supplied in UTC timezone. |
limit | The maximum amount of resources to return. Value cannot be None. | |
page | The next page token for the search_logs API call. |