Skip to main content
Glama

Google Cloud MCP Server

by andyl25

spanner-query-count

Track and count Spanner queries by type, status, and time range to monitor database activity. Configure instance, database, and alignment period for detailed query analysis.

Input Schema

NameRequiredDescriptionDefault
alignmentPeriodNoAlignment period for aggregating data points (e.g., "60s", "5m", "1h")60s
databaseIdNoSpanner database ID (optional, if not provided will show all databases)
endTimeNoEnd time for the query (defaults to now)
instanceIdNoSpanner instance ID (optional, if not provided will show all instances)
queryTypeNoType of queries to count (ALL, READ, QUERY)ALL
startTimeNoStart time for the query (e.g., "1h", "2d", "30m")1h
statusNoStatus of queries to count (ALL, OK, ERROR)ALL

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "alignmentPeriod": { "default": "60s", "description": "Alignment period for aggregating data points (e.g., \"60s\", \"5m\", \"1h\")", "type": "string" }, "databaseId": { "description": "Spanner database ID (optional, if not provided will show all databases)", "type": "string" }, "endTime": { "description": "End time for the query (defaults to now)", "type": "string" }, "instanceId": { "description": "Spanner instance ID (optional, if not provided will show all instances)", "type": "string" }, "queryType": { "default": "ALL", "description": "Type of queries to count (ALL, READ, QUERY)", "enum": [ "ALL", "READ", "QUERY" ], "type": "string" }, "startTime": { "default": "1h", "description": "Start time for the query (e.g., \"1h\", \"2d\", \"30m\")", "type": "string" }, "status": { "default": "ALL", "description": "Status of queries to count (ALL, OK, ERROR)", "enum": [ "ALL", "OK", "ERROR" ], "type": "string" } }, "type": "object" }

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/andyl25/googlecloud-mcp'

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