Skip to main content
Glama

Change a cron job's schedule

update_heartbeat_schedule
DestructiveIdempotent

Change how often a heartbeat's job runs, and its grace time. An issue that's no longer late closes right away. Needs write access.

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": {
      "app": "<app>",
      "heartbeat_id": "<heartbeat_id>",
      "grace_minutes": "<grace_minutes>"
    },
    "name": "update_heartbeat_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
cronNoCron expression in UTC, like 0 3 * * *. Use this or every_hours.
every_hoursNoRuns every N hours (0.0167 = every minute). Use this or cron.
heartbeat_idYes
grace_minutesYesHow late it may be before BugOtter alerts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the bar is lower, yet the description adds two pieces of genuine context: the write-access requirement and a side effect not captured by annotations - issues no longer late close immediately. It does not explain why the call is destructive or what happens to the existing schedule when the cron fields are omitted.

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 with no filler, and the core action is front-loaded. Each sentence contributes: the change, the side effect, the access requirement.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with annotations and no output schema, the description covers the essentials but leaves a real gap: cron and every_hours are optional yet the required grace_minutes forces a value, and the description never says whether the schedule is preserved or cleared when neither is supplied. That ambiguity matters for a destructive call.

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 80%, so the schema already documents nearly all parameters, and the description only loosely maps its mention of run frequency and grace time onto cron/every_hours and grace_minutes. It adds no detail on the mutual exclusivity of cron and every_hours or on what omitting both does.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource - changing a heartbeat job's run frequency and grace time - and is clearly distinct from add_heartbeat/delete_heartbeat. It stops short of naming a sibling or stating scope boundaries, but the operation is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The only guidance is the prerequisite 'Needs write access'; there is no explicit statement of when to use this versus add_heartbeat or delete_heartbeat. Usage is implied by the fields mentioned, which is adequate but leaves the agent to infer intent.

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