Skip to main content
Glama

Trigger.dev MCP by usefulapi

Deactivate a schedule

trigger_deactivate_schedule
Destructive

Pause a schedule so it stops firing. The usual first move when a scheduled task is misbehaving. Trigger.dev: POST /api/v1/schedules/{scheduleId}/deactivate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schedule_idYesThe schedule to pause.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

The destructiveHint=true annotation already carries the main safety signal, and the description usefully adds the operational effect (the schedule stops firing) plus the underlying endpoint. However, it does not disclose whether the pause is reversible, whether in-flight runs are cancelled, or what permissions are required. The word 'Pause' slightly understates the destructive flag but does not outright contradict it.

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 short sentences, purpose front-loaded, with the usage heuristic second and the API endpoint last. Every sentence carries distinct information with no padding or redundancy.

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?

For a one-parameter tool with a full schema description, no output schema, and a destructiveHint annotation, the description covers purpose, effect, and a usage trigger. The only meaningful gaps are post-deactivation state semantics (reversibility, in-flight runs), which are minor for this tool's simplicity.

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 ('The schedule to pause.'), so the schema already does the heavy lifting. The description adds no format, ID-source, or naming detail beyond what the schema provides — baseline 3 is correct here.

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 with its effect: 'Pause a schedule so it stops firing.' An agent can immediately distinguish this from trigger_activate_schedule (the inverse) and from the read-only trigger_get_schedule/trigger_list_schedules siblings without opening any 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?

Provides a clear usage context: 'The usual first move when a scheduled task is misbehaving.' That tells the agent when this tool is appropriate, but it names no explicit alternative (e.g., trigger_activate_schedule for the reverse, or whether to cancel in-flight runs instead) and gives no when-not-to-use 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.