Skip to main content
Glama
dbos-inc

DBOS MCP Server

Official
by dbos-inc

get_workflow_events

Retrieve key-value events published by a workflow in DBOS Conductor using application name and workflow ID. Inspect workflow state and progress to debug applications.

Instructions

Get events published by a workflow from DBOS Conductor.

Events are OUTBOUND: a workflow publishes them about its own state or progress via setEvent, and anything holding the workflow ID (another workflow, an HTTP handler, a client) reads them via getEvent. A workflow that never received anything can still have events.

To see messages sent TO a workflow, use get_workflow_notifications instead.

Each event has a string key and a value.

Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow

Returns: events: Array of event objects, each containing: - key (string): The event key - value (string): The event value, in a human-readable representation count (int): Number of events returned workflow_id (string): The workflow ID queried

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_idYes
application_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the event model, the direction of events, and even notes that a workflow that never received anything can still have events. While it doesn't discuss side effects, it clearly implies a read operation and provides behavioral context beyond a simple 'get'.

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 well-structured with an opening summary, a clarifying note on event direction, an explicit alternative, and clearly labeled Args/Returns sections. It is slightly longer than strictly necessary, but every section adds useful information, and the structure aids comprehension.

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

Completeness5/5

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

Given the tool's modest complexity, two simple string parameters, and the presence of an output schema, the description is complete. It covers the event model, parameter meanings, return value shape, and the relevant sibling alternative, leaving no critical gap for an agent to invoke the tool correctly.

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 0%, so the description fully compensates by documenting both parameters in the Args section: application_name as 'Name of the DBOS application' and workflow_id as 'ID of the workflow'. This gives the agent the semantic meaning needed to populate the required fields correctly.

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 opens with a specific verb and resource: 'Get events published by a workflow from DBOS Conductor.' It also distinguishes itself from the similar sibling get_workflow_notifications by explicitly contrasting outbound events with messages sent TO a workflow, making its purpose unambiguous.

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 gives clear usage context: events are outbound, published via setEvent, and read via getEvent by anyone holding the workflow ID. It explicitly names the alternative tool for inbound messages ('To see messages sent TO a workflow, use get_workflow_notifications instead.'), giving an agent a direct routing decision.

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

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/dbos-inc/dbos-mcp'

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