Skip to main content
Glama

Amazon Managed Prometheus MCP Server

by sigitp-git

query_metrics

Execute PromQL queries on Amazon Managed Prometheus workspaces using workspace ID, query string, and optional parameters like time range and step. Returns JSON data with query results.

Instructions

Execute a PromQL query against an Amazon Managed Prometheus workspace.

Args: workspace_id: The ID of the workspace to query query: PromQL query string region: AWS region where the workspace is located (default: us-east-1) start_time: Start time for range queries (RFC3339 format) end_time: End time for range queries (RFC3339 format) step: Query resolution step for range queries (e.g., "15s", "1m")

Returns: JSON string containing query results or preparation details

Input Schema

NameRequiredDescriptionDefault
end_timeNo
queryYes
regionNous-east-1
start_timeNo
stepNo
workspace_idYes

Input Schema (JSON Schema)

{ "properties": { "end_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "End Time" }, "query": { "title": "Query", "type": "string" }, "region": { "default": "us-east-1", "title": "Region", "type": "string" }, "start_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Start Time" }, "step": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Step" }, "workspace_id": { "title": "Workspace Id", "type": "string" } }, "required": [ "workspace_id", "query" ], "type": "object" }
Install Server

Other Tools from Amazon Managed Prometheus MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/sigitp-git/prometheus-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server