Skip to main content
Glama

run_workflow

Read-onlyIdempotent

Turn any product, engineering, business, or operations goal into a structured workflow. Auto-loads your relevant memories to personalize each process.

Instructions

Run a Purmemo workflow — structured, memory-powered processes for product, engineering, business, and operations tasks. Your relevant memories and identity are automatically loaded to personalize every workflow.

WHEN TO USE THIS TOOL:

  • User wants to write a PRD, debug an issue, plan a sprint, review code, or any structured task

  • User describes a goal but doesn't know the exact process ("I want to ship a feature")

  • User asks for strategic advice, design guidance, or operational help

  • User says "help me", "guide me", "walk me through", or describes a business/product/engineering need

AVAILABLE WORKFLOWS (pass the workflow name, or describe what you need): Product: prd, roadmap, story, design, feedback Strategy: ceo, growth, metrics, intel Engineering: debug, review, deploy, incident Operations: sprint Content: copy

EXAMPLES: run_workflow(workflow="prd", input="notification system for mobile app") run_workflow(workflow="debug", input="TypeError: Cannot read property 'map' of undefined in Timeline") run_workflow(input="production is down, users can't save memories") → auto-routes to incident run_workflow(input="what should I focus on this week?") → auto-routes to sprint run_workflow(input="how's the business doing?") → auto-routes to metrics

DO NOT use this tool for: simple memory recall (use recall_memories), saving conversations (use save_conversation), or finding related discussions (use discover_related_conversations).

If no specific workflow is named, the system auto-routes based on the user's intent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesWhat you want to accomplish, the problem to solve, or context for the workflow.
workflowNoWorkflow name (e.g., "prd", "debug", "sprint"). Use list_workflows to see all available options including custom workflows. Optional — if omitted, auto-routes from input.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and idempotentHint=true, so safety is covered. The description adds behavioral context beyond that: memories are automatically loaded, and workflows can auto-route based on intent. This is useful, though it doesn't detail potential side effects or output behavior (which may be acceptable given the readOnly hint).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but well-organized with clear headings, examples, and a negative usage section. Every section serves a purpose. It is slightly wordy but appropriately structured for a tool with many workflow options and routing rules.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is thorough on usage, workflows, and exclusions, but it omits any mention of return values or output format. Since there is no output schema, the description should compensate for this lack. Without knowing what the tool returns (text, steps, or a status), an agent cannot fully anticipate the tool's behavior, leaving a notable gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for both parameters, but the description adds significant semantic value by listing valid workflow names, providing concrete examples of input and workflow values, and explaining the auto-routing behavior when the workflow parameter is omitted. This goes well beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Run a Purmemo workflow — structured, memory-powered processes' and distinguishes it from sibling tools by listing what NOT to use it for (e.g., recall_memories, save_conversation, discover_related_conversations). The available workflow list further clarifies its scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes an explicit 'WHEN TO USE THIS TOOL' section with concrete scenarios and a 'DO NOT use this tool for' section naming alternative tools. It also explains auto-routing when no workflow is specified, giving clear guidance on when to call and when to avoid.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/purmemo-ai/purmemo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server