Skip to main content
Glama

Run a trigger now

run_trigger

Start one run of a trigger now, without waiting for its schedule – e.g. to test it. Works for a trigger paused by its owner or after failures, too. Returns the run with its job ID (or the named sandbox) – the job runs in the background like any other job. Refused while the previous run still runs (concurrency skip) or when the daily price limit would be exceeded.

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": {
      "trigger_id": "<trigger_id>"
    },
    "name": "run_trigger"
  }
}

Input Schema

NameRequiredDescriptionDefault
trigger_idYesTrigger ID (trg_…).

Output Schema

NameRequiredDescriptionDefault
atNoWhen it started (RFC 3339).
idYesRun ID (run_…).
costNoFinal cost of the run (amount, currency).
errorNoWhy it failed or was skipped.
eventYesWhat started it: schedule, webhook or manual.
job_idNoJob of the run (jobs).
statusYesrunning, completed, failed, cancelled, skipped or rejected.
sandbox_idNoNamed sandbox of the run (sandbox triggers).
scheduled_atNoScheduled time it belongs to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description discloses that the job runs in the background, what the response contains (run with job ID or named sandbox), and two specific refusal modes. That is exactly the behavioral context annotations cannot express.

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?

Three sentences, no filler, with the core action front-loaded and the refusal conditions placed last where they act as a check before invocation. Every sentence contributes distinct information.

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?

With an output schema present, the description needn't document return structure, and it still summarizes it briefly. Annotations cover the safety profile, and the description covers side effects, background execution, and failure modes for a single-parameter tool.

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?

There is a single parameter with 100% schema description coverage (trigger_id with a trg_ prefix hint), so the schema already carries the semantics. The description adds no syntax or format information beyond it, making the baseline 3 appropriate.

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 description opens with a specific verb and resource: 'Start one run of a trigger now, without waiting for its schedule.' That distinguishes the tool from schedule-driven behavior and from sibling job tools (run_job), and the parenthetical 'e.g. to test it' anchors the intent further.

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 clearly states when this is appropriate (immediate run, testing, triggers that are paused or failing) and gives explicit refusal conditions (concurrency skip, daily price limit). It does not name an alternative tool for cases where the agent should inspect status first, so it falls short of a full when/when-not routing statement.

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.

Resources