Skip to content

Prompts

The Actian MCP Server for the Actian Analytics Engine includes a built-in prompt template. This tool bridges the gap between plain language inquiries and the structured context an LLM needs to function as a database expert.

Available Prompts

Use the following prompt to help you format the database inquiries:

Prompt Description
ask_question Formats a plain language question into a structured prompt template designed for database experts.

ask_question

Use the ask_question prompt to transform a standard question into a formatted string ready for LLM processing. By framing the request within an expert context, you improve the accuracy and relevance of the generated SQL or data analysis.

Parameters

Field Type Required Description
question string The question to insert into the prompt template.

Output Template

You are a database expert. Answer the following question: <question>

Example

Input

{
  "question": "What are the top 5 customers by revenue this quarter?"
}

Output

You are a database expert. Answer the following question: What are the top 5 customers by revenue this quarter?

Next Steps

  • Tools
    Learn more about the SQL and schema tools provided by the Analytics Engine server.

  • Resources
    Explore the resource types available through the server.