MCP Prompts Reference
Built-in agentic prompts for common SquireX workflows. Trigger these from your AI agent.
review-agentforce-securityโ
When to use: Before any Agentforce metadata deploy. Run a full security scan and get a prioritized remediation plan.
What the agent does:
- Calls
scan_agentforceon the full project - Groups violations by severity
- For each Critical/High violation, calls
explain_violationandsuggest_fix - Returns a ranked remediation plan
Example prompt:
"Review my Agentforce metadata for security issues"
fix-agentforce-violationโ
When to use: You have a specific SARIF violation and want a targeted fix.
What the agent does:
- Accepts a rule ID and file location
- Calls
get_rule_detailsfor remediation guidance - Reads the violating file
- Calls
suggest_fixwith the relevant context - Returns a diff-style fix
Example prompt:
"Fix the AGENTFORCE-1.1 violation in Submit_Case.genAiFunction-meta.xml"
harden-agent-metadataโ
When to use: Proactive hardening review before going live with a new agent.
What the agent does:
- Runs
scan_agentforcewith all Critical and High rules - Also runs instruction integrity rules (9.1, 9.2) with enhanced context
- Returns a defense-in-depth gap analysis
generate-test-evaluationโ
When to use: You want to create Agentforce DX test specs for Testing Center.
What the agent does:
- Calls
scan_agentforceto get violations - Calls
generate_dx_teststo convert to test YAML - Optionally calls
validate_dx_tests - Returns the test spec YAML
Example prompt:
"Generate Testing Center test specs from my latest Agentforce scan"