suggest_personas_for_query
Recommends the most relevant specialist personas for a query by scoring relevance, so you know which expert profiles to consult for informed guidance.
Instructions
Suggest relevant personas for a given query using intelligent selection.
Uses keyword matching, context detection, and relevance scoring to recommend which personas would be most helpful for the query.
MCP Design Philosophy: This tool helps the LLM discover which personas to consult, but doesn't perform analysis itself. The LLM uses the suggestions to call get_persona_content() for each recommended persona.
Args: query: The user's question or scenario max_suggestions: Maximum number of personas to suggest (default: 5) context_hint: Optional context hint to improve suggestions (e.g., "crisis", "security", "architectural")
Returns: JSON list of suggested personas with relevance scores and rationale
Example: # Get suggestions for a query suggestions = suggest_personas_for_query( query="How should we handle user authentication?", max_suggestions=3 )
# Returns JSON with suggested personas and why they're relevant
# LLM then calls get_persona_content() for each suggestion
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| context_hint | No | ||
| max_suggestions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |