Prompts

The MCP spec’s third noun is Prompts: pre-baked workflow templates the server delivers to the agent, with arguments substituted in. The agent runs the prompt in its own context, executing the tool sequence the server suggests.

Most MCP servers ship Tools and stop. Pipeworx ships 12 Prompts — opinionated playbooks for the highest-value cross-pack workflows.

Why server-side prompts

Agents are decent at planning multi-step tool calls but they rebuild the plan from scratch every session. The same agent solves “research a public company” with slightly different tool sequences each time, missing one or two relevant calls per run.

Prompts encode the optimal sequence once, on the server. Every agent that calls prompts/get gets the same proven plan with their arguments filled in.

How an agent uses a prompt

// Discover available prompts
prompts/list()
// → [{ name: "research_public_company", description: "...", arguments: [{name: "company", required: true}] }, ...]

// Get a prompt with arguments substituted
prompts/get({
  name: "research_public_company",
  arguments: { company: "AAPL" }
})
// → { messages: [{ role: "user", content: { type: "text", text: "Research the public company AAPL using Pipeworx. Use this sequence:\n\n1. Resolve the company...\n2. Get recent filings...\n3. Pull key financial concepts...\n..." }}] }

The returned message is what the agent reads as its task. It contains the suggested tool sequence with the company filled in. The agent then executes it.

Available prompts

PromptArgsTools orchestrated
research_public_companycompanyEDGAR + CFPB + FRED
drug_safety_profiledrug_nameRxNorm + FDA + ClinicalTrials
trade_exposurereporter, partnerUN Comtrade + Census + Treasury
housing_market_briefmetroFRED + ATTOM + Altos + BLS
regulatory_landscapecompanySEC + Federal Register + EPA + USAspending
property_researchaddressATTOM + Altos + FEMA
patent_due_diligencesubjectUSPTO + EDGAR + Trademarks
lobbying_activitycompanyLobbying + FEC + USAspending + Federal Register
financial_health_checktickerresolve_entity + EDGAR + CFPB + insider trading
agricultural_commodity_briefcommodityUSDA NASS + BLS + FRED + Comtrade + weather
environmental_risksubjectEPA ECHO + GHG + TRI + AirNow + Federal Register
tool_chain_for_questionquestionmeta-prompt — uses discover_tools to plan

When to use a prompt vs. ask_pipeworx

  • ask_pipeworx is one round trip: question in, answer out. Best for “what is X” questions where one tool gives the answer.
  • A prompt is a multi-step plan: the server hands the agent a sequence to execute. Best for “research X end-to-end” tasks that span 3–5 tools.

If the task fits one tool, use ask_pipeworx. If it needs synthesis across packs, get a prompt.

Customizing the playbook

Prompts are static at the gateway level — every agent gets the same template. If you need a custom workflow:

  1. Use discover_tools to find the relevant tools
  2. Compose your own prompt or chain the calls directly
  3. File feedback via pipeworx_feedback({type: "feature", message: "Add prompt for X"}) — the team adds prompts based on signal

The bar to add a new prompt is low. If you’re rerunning the same 3-tool sequence repeatedly, that’s a candidate.

Last reviewed May 8, 2026