oracle.oci-monitoring-mcp-server
v2.1.0OCI Monitoring Service MCP server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_alarms
Lists all alarms in a given compartment
| Parameter | Type | Description |
|---|---|---|
compartment_id * | string | The ID of the compartment containing the resourcesmonitored by the metric that you are searching for. |
list_metric_definitions
This tool returns the available metric definitions. Use this tool when you do not know the name of the metric or want to see all the available metric namespaces in a compartment. If there are no results found, remove the metric name or namespace fields.
| Parameter | Type | Description |
|---|---|---|
compartment_id * | string | The OCID of the compartment |
compartment_id_in_subtree | boolean | Whether to include metrics from all subcompartments of the specified compartment |
group_by | Group metrics by these fields in the response. For example, to list all metric namespaces available in a compartment, groupBy the "namespace" field. Supported fields: namespace, name, resourceGroup. I… | |
metric_name | The metric name to use when searching for metric definitions. | |
namespace | The source service or application to use when searching for metric definitions. If you do not know the name of the namespace, leave it blank. | |
resource_group | Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resou… |
get_metrics_data
This tool retrieves aggregated metric data points in the OCI monitoring service.Use the query and optional properties to filter the returned results. If there are no aggregated data points returned, suggest using another query or expanding the time range.You MUST use the MQL Syntax Guide resource before using this tool to get the query.
| Parameter | Type | Description |
|---|---|---|
compartment_id * | string | The OCID of the compartment |
query * | string | The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval.Supported values for interval depend… |
compartment_id_in_subtree | Whether to include metrics from all subcompartments of the specified compartment | |
end_time | The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response is exclusive metric data points for the endTime. If no value is provided, this value… | |
namespace | string | The source service or application to use when searching for metric data pointsto aggregate. If you do not know the name of the namespace, use the list_metric_definitions tool with an empty namespace p… |
resolution | The time between calculated aggregation windows.Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution… | |
resource_group | Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resou… | |
start_time | The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response is inclusive of metric data points for the startTime. If no value is provided,… |