Skip to main content
Glama

list_fsm_hooks

Read-onlyIdempotent

Lists registered, non-revoked FSM automation hooks for a workspace in oldest-first order, returning state transitions, handler details, and enabled status for audit and management.

Instructions

List the workspace's registered FSM automation hooks that have not been revoked, oldest first. Each has id, label, from_state and to_state (null means any state), handler_kind, handler_target and enabled; the http signing secret is returned only when the hook is registered. Add a hook with register_fsm_hook and remove one with revoke_fsm_hook. Requires workspace:read.

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "list_fsm_hooks"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idYesUUID of the workspace whose FSM hooks to list. It must be the caller's own workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • addedInput schema / properties / workspace_id / description
      Added value: +"UUID of the workspace whose FSM hooks to list. It must be the caller's own workspace."
  2. First observedv479.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint, yet the description still adds real behavior: revoked hooks are filtered out, results are ordered oldest-first, and the http signing secret is only present on the registration response. The auth scope ('Requires workspace:read') is also disclosed, which annotations do not cover.

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

Conciseness5/5

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

Two sentences, front-loaded with the verb and scope; the field enumeration earns its place because there is no output schema. No filler or restated title.

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?

For a single-parameter read tool with no output schema, the description supplies the returned field set, the null-means-any semantics for from_state/to_state, the revoked filtering, ordering, the signing-secret nuance, and the required scope. Nothing an agent needs to call or interpret it is missing.

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?

With 100% schema coverage and a single workspace_id already documented as 'the caller's own workspace', the description adds only the implicit tie between the parameter and the 'workspace:read' scope. Baseline 3 applies since the schema carries the parameter semantics.

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 and resource ('List the workspace's registered FSM automation hooks'), adds scope ('that have not been revoked') and ordering ('oldest first'), and names the sibling mutations that are not this tool. An agent can distinguish it from register_fsm_hook/revoke_fsm_hook without opening a schema.

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 routes creation to register_fsm_hook and removal to revoke_fsm_hook, and states the prerequisite 'Requires workspace:read'. That covers when to use this tool, when to use an alternative, and what access is needed.

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

Deploy Server

Other Tools