oracle.oci-logging-mcp-server

v2.0.4
oracle.oci-logging-mcp-server Checked 9 hours ago Published 28 days ago

OCI 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

ParameterTypeDescription
compartment_id *stringThe OCID of the compartment
limitThe 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

ParameterTypeDescription
log_group_id *stringThe 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

ParameterTypeDescription
log_group_id *stringThe OCID of the log group to list logs from.
limitThe 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

ParameterTypeDescription
log_group_id *stringThe OCID of the log group that the log belongs to.
log_id *stringThe 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.

ParameterTypeDescription
pageintegerThe page number to retrieve
page_sizeintegerNumber 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.

ParameterTypeDescription
search_query *stringThe log search query.
time_end *stringEnd 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 *stringStart 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.
limitThe maximum amount of resources to return. Value cannot be None.
pageThe next page token for the search_logs API call.