-
Notifications
You must be signed in to change notification settings - Fork 0
Built in Prompts and Workflows
Aura Tracker GCP ships three MCP Prompt Templates — structured multi-step workflows that guide the LLM through common operational tasks. Unlike tools (which return raw data), prompts chain multiple tool calls into a coherent analysis with a narrative conclusion.
Invoke a prompt by name in your LLM host:
"Run the audit-security-posture prompt for project my-project"
or, if the host exposes a prompt picker, select it from the list.
Purpose: Surface IAM and network security vulnerabilities in a GCP project with severity-ranked findings and remediation commands.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project to audit |
focus |
no |
iam, network, or all (default: all) |
What the LLM does:
- Reads
gcp://{project}/iam/my-permissionsto check the server's own permissions and note any audit gaps. - Calls
gcp_iam_test_permissionsto inspect IAM bindings — flags primitive Owner/Editor roles on non-admin principals, service accounts with excessive scope, andallUsers/allAuthenticatedUsersbindings. - Calls
gcp_cloudrun_list_servicesacross all regions — flags services with ingress set toall(publicly reachable without IAP). - Synthesizes a structured report:
CRITICAL Public + unauthenticated exposure; primitive Owner/Editor on external identities
HIGH Public ingress without IAP; overly broad service account roles
MEDIUM Missing resource labels; unused service accounts; no org policy constraints
Each finding includes the affected resource, risk description, and the exact gcloud or Terraform remediation.
Prompt example:
"Audit the security posture of project my-project, focusing only on IAM."
Purpose: Analyse BigQuery table schemas and slot usage to produce a prioritised list of cost-saving recommendations.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project |
dataset_id |
no | Specific dataset to analyse; analyses top 5 largest tables across all datasets if omitted |
What the LLM does:
- Discovers datasets via
gcp://{project}/bigquery/datasets. - Reads table lists and schemas for the largest tables.
- Fetches 7-day slot usage via
gcp_monitoring_get_metrics(bigquery.googleapis.com/slots/allocated_for_project). - Produces recommendations for each table:
- Partitioning: suggests partition column and expiration (90 days for logs, 365 for analytics, 730 for compliance)
-
Clustering: identifies columns likely used in
WHERE/GROUP BY -
Table expiration: flags
_tmp,_staging,_bak,_rawtables for short TTL - Slot rightsizing: if peak usage < 50% of allocated slots, recommends on-demand or reduced flat-rate
- Materialized views: detects aggregate column patterns that suggest repeated full-table scans
Returns a table ranked by estimated monthly savings (highest first).
Prompt example:
"Optimize BigQuery costs for project my-project, focusing on the
analyticsdataset."
Purpose: Rapid structured triage for an active Cloud Run incident — pulls service state, error logs, request metrics, and Aura Score, then produces an incident report with rollback commands.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project |
service_name |
yes | Cloud Run service name |
region |
yes | Region the service is deployed in |
What the LLM does:
- Reads
gcp://{project}/cloudrun/{region}/{service}for current traffic splits and latest revision. - Calls
gcp_logging_query_recentforseverity>=ERRORlogs from the last 2 hours (up to 50 entries) — extracts most frequent errors, first occurrence, affected revisions. - Calls
gcp_monitoring_get_metricsforrun.googleapis.com/request/countandrun.googleapis.com/request/latenciesover the last hour. - Calls
gcp_get_aura_scorefor the service. - Produces an incident report:
Status CRITICAL | DEGRADED | RECOVERING | HEALTHY
Timeline When errors started; correlation with recent deployment
Root cause Most probable cause based on error patterns
Actions Priority-ordered steps; if latest revision is faulty, exact
gcp_cloudrun_update_traffic arguments to roll back traffic
Follow-up Monitoring thresholds to set; code fixes to investigate
Prompt example:
"Run the incident-response-helper for service payments-api in region us-central1, project my-project."