Skip to main content
Glama

Get Workflows

get_workflows
Read-onlyIdempotent

Read workflow automation state.

Workflows fire when a trigger (visibility drop, new threat, etc.) matches, and run actions (Slack message, webhook ping, email). Use this tool to see what's configured and what's fired recently.

Views:

  • 'list': All workflows for the brand. Filter by status.

  • 'get': Full definition of a single workflow. Requires workflow_id.

  • 'runs': Recent firings across all workflows in the date window. Filter by workflow_id.

  • 'run_detail': Full payload for a single run. Requires run_id.

  • 'templates': Catalogue of starter templates ('Visibility Drop', 'Competitor Alert', 'Weekly Summary', etc.).

Args: brand_id: The brand to inspect (required). view: Which slice of workflow data to return. workflow_id: Required for 'get'. Optional filter for 'runs'. run_id: Required for 'run_detail'. status: Filter list/runs by status. days: Lookback window for runs, 1-90. Default 30. limit: Max rows, 1-200. Default 50. offset: Pagination offset. Default 0.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo
viewNolist
limitNo
offsetNo
run_idNo
statusNo
brand_idYes
user_intentNoAnalytics hint: the user's latest request in one short sentence. Omit secrets and prior chat.
workflow_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so safety is covered. The description adds useful domain context (triggers, actions, firing behavior) but does not address rate limits, pagination interaction with runs, or return shape. With annotations carrying the safety profile, a 3 is appropriate.

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?

Front-loads the purpose, then the domain model, then the views, then args. The view list is the densest value and is well structured. The 'Args' section duplicates some schema info but is justified given the low schema coverage.

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

Completeness4/5

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

For a multi-view read tool with 9 params and 11% schema coverage, the description fills most gaps: view behavior, conditional params, filters, and window. Missing only user_intent semantics and how pagination behaves for 'runs' vs 'list'. No output schema, so return-value notes are correctly omitted.

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

Parameters4/5

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

Schema coverage is only 11%, so the description must compensate, and it largely does: it explains view semantics, conditional requirements (workflow_id for 'get', run_id for 'run_detail'), the days window (1-90, default 30), and filtering by status. It does not document user_intent, and the offset/limit ranges are only in 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?

States a specific verb+resource ('Read workflow automation state') and immediately explains what workflows are and what this tool surfaces ('see what's configured and what's fired recently'). The five-view breakdown makes it unmistakably distinct from the sibling manage_workflow (which writes).

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?

Explicitly maps each view to a purpose and names the required parameter for each ('get' requires workflow_id, 'run_detail' requires run_id). An agent can pick the correct view without reading the schema.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources