Skip to main content
Glama

Get trigger

trigger_get
Read-onlyIdempotent

Read one trigger by its id, whole as trigger_create returns it, with its starts newest first: each start's state (waiting, started, dropped with its reason, or failed), its cause (the finished task, the file that arrived, or the due time), the task it started with its status, and its depth. A page holds at most 20 starts, fewer when they do not fit one tool reply; while nextCursor is not null, call again with cursor: nextCursor for older ones. A trigger 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": {
      "id": "<id>"
    },
    "name": "trigger_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe trigger, by its id (trigger_create and trigger_list return it).
whyNoOptional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters.
cursorNonextCursor of the previous page: older starts.

Output Schema

NameRequiredDescriptionDefault
triggerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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 / trigger / 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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the description's job is to add context — which it does with the 20-start page cap, the possibility of smaller pages, and the UNAVAILABLE outcome for unreadable triggers. It does not cover any authorization prerequisites for reading a trigger.

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 lead clause identifies the resource and scope immediately, then layers pagination detail. Sentences are dense but each carries operational information; the enumerated start-state and cause lists are long but genuinely useful for interpreting results.

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-resource read with a full schema and an output schema, this covers identity, pagination, and the failure case. Nothing an agent needs to invoke it correctly is missing, and the return-value prose, while redundant against the output schema, is harmless reinforcement.

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 coverage is 100%, so all three parameters including cursor semantics are already documented in the schema. The description reinforces the cursor loop but adds no format or constraint detail beyond what the schema states; baseline 3 applies.

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?

"Read one trigger by its id" gives a specific verb, resource, and cardinality, which cleanly separates it from trigger_list. It also anchors the return shape to trigger_create, so an agent knows exactly which representation to expect.

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?

The description tells the agent precisely what to do with pagination: "while nextCursor is not null, call again with cursor: nextCursor for older ones." It implies single-trigger lookup versus listing but never explicitly contrasts with trigger_list or trigger_update.

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.