Skip to main content
Glama

Stop watching a cron job

delete_heartbeat
DestructiveIdempotent

Remove a heartbeat by id (app is optional; when passed, it must be the heartbeat's app). Its ping URLs stop working. 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": {
      "heartbeat_id": "<heartbeat_id>"
    },
    "name": "delete_heartbeat"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
heartbeat_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new context beyond them: the concrete consequence that ping URLs stop working, and the authorization requirement ('Needs write access'). It stops short of saying whether deletion is recoverable or what happens to historical ping data.

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 compact sentences with the operation front-loaded, followed by side effect and then access requirement. Every clause carries distinct information and nothing is redundant.

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 destructive mutation with no output schema, the definition covers the effect, the auth requirement and the one non-obvious parameter constraint. Only the irreversibility/confirmation question is left unaddressed.

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?

With only 50% schema coverage, the description must compensate, and it does for the app parameter: the schema only constrains it as a string, while the description states it is optional and must match the heartbeat's own app. The heartbeat_id parameter gains no format or sourcing detail beyond what the schema already implies, so this is strong but not complete.

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 ('Remove a heartbeat by id') and pairs it with the title's framing, 'Stop watching a cron job.' An agent can immediately distinguish this from the sibling add_heartbeat and update_heartbeat_schedule operations.

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?

Usage is only implied by the destructive verb; the description never says when to prefer deletion over disabling or rescheduling a heartbeat, nor when not to call it. The only routing hint is the parenthetical about the optional app parameter, which is parameter guidance rather than when-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.

Resources