Skip to main content
Glama

List triggers

trigger_list
Read-onlyIdempotent

List a workspace's triggers in the order they were added, each whole as trigger_create returns it (on or off, its when with a schedule's next due time and words, its last start, and how many of its starts wait). definition (an id, or a type) lists that definition's alone; type lists the triggers listening for that task type done. A page holds at most limit triggers (1 to 100, default 50), fewer when they do not fit one tool reply; while nextCursor is not null, call again with cursor: nextCursor and the same filters. trigger_get reads one with its starts. A workspace you cannot read is UNAVAILABLE.

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": {
      "workspaceId": "<workspaceId>"
    },
    "name": "trigger_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoOptional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters.
typeNoOnly the triggers listening for this task type done.
limitNoTriggers per page, 1 to 100 (default 50).
cursorNonextCursor of the previous page: triggers added after it.
definitionNoOnly this definition's triggers: its id, or its type.
workspaceIdYesThe workspace (its id or its slug).

Output Schema

NameRequiredDescriptionDefault
triggersYes
nextCursorYesPass back as cursor, with the same filters, for the next page; null: this is the last.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / definition / maxLength
      Added value: +64
    • addedInput schema / properties / definition / minLength
      Added value: +1
    • changedInput schema / properties / type / pattern
      Previous value: -"^[a-z0-9][a-z0-9-_]{0,63}$"New value: +"^[a-zA-Z0-9][a-zA-Z0-9-_]{0,63}$"
    • changedInput schema / properties / why / description
      Previous value: -"Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters."New value: +"Optional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters."
  2. Changed1 schema field changed
    • addedOutput schema / properties / triggers / items / properties / addedBy / properties / tokenrip
      Added value: +{
      +  "const": true,
      +  "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +  "type": "boolean"
      +}
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely new behavior: insertion-order results, page sizing and the fact that pages can hold fewer than limit, the cursor loop, and the UNAVAILABLE failure state. However, the return-shape sentence ("each whole as trigger_create returns it (on or off, its when with a schedule's next due time and words...)") is dense and forces the agent to reason about another tool's output rather than stating the fields plainly, which blunts the disclosure.

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 paragraph is front-loaded with purpose and contains no filler sentences; every clause carries scope, pagination, or routing information. The cost is readability: the return-shape clause is convoluted and uses awkward phrasing that slows parsing compared with the crisp opening clause.

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?

With an output schema present and full schema coverage, the description only needs to cover ordering, filtering, pagination, and failure behavior, and it does all four while pointing to trigger_get for the single-item case. The one weak spot is the garbled rendering of the per-trigger payload, which is the only thing an agent might misread about the response.

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 100%, so the schema already documents all six parameters and the baseline is 3. The description adds real semantic value for cursor by prescribing how to feed nextCursor back with identical filters, and restates the definition filter's id-or-type ambiguity; it says nothing about the why parameter, which the schema notes is accepted but not recorded.

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 first clause gives a specific verb and resource ("List a workspace's triggers") plus the ordering guarantee, and the definition explicitly routes single-item reads to trigger_get. An agent can distinguish it from trigger_get and from the other *_list siblings 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 Guidelines4/5

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

It gives the continuation rule explicitly ("while nextCursor is not null, call again with cursor: nextCursor and the same filters") and explains what definition vs type filtering selects. It also names trigger_get as the alternative for a single trigger with its starts. It stops short of stating when not to use the tool (e.g. when a workspace is unreadable beyond the UNAVAILABLE note), so it is clear context rather than full when/when-not guidance.

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.