Skip to main content
Glama

Resume an automation

sprkly_resume_automation
Idempotent

Turn a paused automation back on, on every account it runs on. It starts replying to real people again, and the owner gets an email saying so. A draft has to be finished in sprkly first. An automation that hit its "stop after this many people" limit stays off. One that ended (ended is true in sprkly_list_automations) stays off unless you pass ends_at: a new end time, or an empty string for no end.

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": {
      "automation_id": "<automation_id>"
    },
    "name": "sprkly_resume_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
ends_atNoOptional. A new time for it to switch itself off, as an ISO 8601 time in the future with a time zone. An empty string removes the end. Leave it out to keep the end it has.
automation_idYesThe automation_id from sprkly_list_automations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / ends_at
      Added value: +{
      +  "description": "Optional. A new time for it to switch itself off, as an ISO 8601 time in the future with a time zone. An empty string removes the end. Leave it out to keep the end it has.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and openWorldHint=true, so the safety profile is covered; the description adds real behavior beyond that: it resumes messaging real people and triggers an owner email notification. It does not describe error responses or what a partial failure across multiple accounts looks like, which is the remaining gap for an openWorld multi-account mutation.

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?

Four short sentences, front-loaded with the action and side effects, followed by prerequisites then edge cases. Every sentence contributes a distinct decision-relevant fact and the sibling reference is embedded inline rather than padded out.

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 two-parameter mutation with no output schema and full annotation coverage, the description supplies preconditions, side effects, and the ended-state exception, which is nearly everything an agent needs. The only shortfall is that it never says what the tool returns or how to confirm success apart from the owner email.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already documents ends_at format and the empty-string behavior, so most parameter meaning is structured data. The description still adds non-schema context: that ends_at is only required to revive an automation whose ended flag is true, which tells the caller a conditional dependency between state and parameter that the schema alone would not reveal.

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 opening sentence gives a specific verb and resource ('Turn a paused automation back on') plus scope ('on every account it runs on'), which separates it cleanly from sprkly_pause_automation, sprkly_update_automation, and sprkly_archive_automation in the sibling list.

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?

It states the prerequisite ('A draft has to be finished in sprkly first') and two explicit when-not cases: automations that hit their stop-limit stay off, and ended automations (cross-referencing ended=true in sprkly_list_automations) stay off unless ends_at is supplied. That is a complete decision rule for the caller.

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