Skip to main content
Glama

subscribe

Durably subscribe to a task's terminal settlement using a server-configured notification alias. Repeated subscriptions share a stable event ID, so receivers should deduplicate deliveries.

Instructions

Durably subscribe to one task's observed terminal settlement using a configured alias.

Direct callers only. The server administrator configures HARFLOW_NOTIFY_DESTINATIONS; caller URLs and secrets are refused. Repeated task/alias subscriptions share a stable event ID. Delivery retries at most six times and can duplicate after a crash: receivers must deduplicate IDs. Pending delivery resumes while a configured server is active, not while every server is down. Delivery failure never changes task execution. See docs/task-notifications.md.

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": {
      "task_id": "<task_id>",
      "notify": "<notify>"
    },
    "name": "subscribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
notifyYes
task_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A3.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: stable event IDs across repeated task/alias subscriptions, at most six delivery retries, possible duplicates after a crash requiring receiver-side deduplication, resumption only while a configured server is active, and the guarantee that delivery failure never affects task execution. These are exactly the operational traits an agent cannot get from the schema.

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 purpose and caller restriction are front-loaded, and the sentences are dense with distinct facts rather than filler. The docs pointer and the retry/dedup detail are justified, though the paragraph is longer than strictly needed for a two-parameter tool.

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?

An output schema exists, so return values need not be explained, and the behavioral guarantees are unusually thorough. The remaining gap is the unspecified semantics of the notify alias, which matters for a two-required-parameter tool with zero schema coverage.

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

Parameters3/5

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

Schema description coverage is 0% for both parameters, so the description must compensate. 'One task's' implies task_id and 'configured alias' implies notify maps to a HARFLOW_NOTIFY_DESTINATIONS entry, but neither parameter is named or given format expectations, leaving the mapping implicit.

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 first sentence gives a specific verb and resource: 'Durably subscribe to one task's observed terminal settlement using a configured alias.' It scopes the subscription to a single task and names the alias mechanism. It does not distinguish itself from the sibling subscribe_workflow, so an agent must infer the task-vs-workflow split.

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 the refusal of caller-supplied URLs/secrets establish a real usage constraint. However, there is no explicit statement of when to prefer this over subscribe_workflow or the notification-reading siblings, so the agent must infer the alternative from the name alone.

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