Skip to main content
Glama

subscribe_workflow

Subscribe a root workflow to configured terminal or attention webhooks so current and future run points trigger notifications; repeat calls update event selection without changing workflow execution.

Instructions

Subscribe a root workflow to configured webhooks (terminal, attention, or both).

Direct callers only. Current and future points are delivered; historical points are not replayed. Repeat calls update event selection. Delivery never changes workflow execution.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workflow_run_id": "<workflow_run_id>",
      "notify": "<notify>"
    },
    "name": "subscribe_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventsNo
notifyYes
workflow_run_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations present, the description carries the full behavioral burden and does substantial work: it discloses that only current and future points are delivered, that history is not replayed, that repeated calls mutate the existing selection, and that delivery never affects workflow execution. It omits permissions/auth requirements and any rate or failure behavior, so it is strong but not exhaustive.

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?

Three short sentences, each carrying distinct information, with the core action front-loaded before the behavioral caveats. The only inefficiency is the stray line breaks and the slightly vague 'configured webhooks' phrase, which assumes context the agent may not have.

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?

An output schema exists, so return values need not be explained, and the behavioral caveats cover the non-obvious semantics of a subscription mutation. Against that, a mutation tool with zero annotations and 0% parameter documentation leaves the agent guessing at valid `notify` values and the meaning of `events` — enough missing to keep this at minimum-viable.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for all three parameters. The parenthetical 'terminal, attention, or both' plausibly maps to the undocumented `notify` string, but `events` (array of strings or null, default null) is never explained, nor is the format or source of `workflow_run_id`. Coverage of the parameter surface is partial at best.

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

Purpose4/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: 'Subscribe a root workflow to configured webhooks (terminal, attention, or both).' That is far more informative than the bare name, and the 'root workflow' qualifier narrows scope. It does not explicitly differentiate itself from the sibling `subscribe` or `unsubscribe_workflow`, so it stops short of a 5.

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

Usage Guidelines3/5

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

'Direct callers only' and 'root workflow' function as usage restrictions, and 'Repeat calls update event selection' tells the agent re-invocation is safe/idempotent in effect. However, no alternative is ever named — an agent cannot tell from this text when to use `subscribe` or `unsubscribe_workflow` instead. Guidance is implied rather than routed.

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