Skip to main content
Glama

Delete check

delete_check
DestructiveIdempotent

Permanently delete a monitoring check by UID or slug, immediately stopping its runs, resolving active incidents, and keeping historical results; checks used as tunnels are refused.

Instructions

Soft-delete one check, named by identifier (its UID or slug, as list_checks returns; an unknown one fails with not found and changes nothing). The check stops running immediately, its active incidents are resolved and its scheduling jobs removed; historical results are kept. A check that other checks tunnel through is refused. The deletion is permanent: there is no undelete, though it frees a slot in the MaxChecks quota. To stop a check without losing it, use update_check with enabled:false instead. Requires the mcp scope (mcp:read tokens are refused) and at least the user role in the organization.

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": {
      "identifier": "<identifier>"
    },
    "name": "delete_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifierYesCheck UID or URL-friendly slug, e.g. "api-prod" or "63d49e55-97e3-4e8c-b7ab-c862de7a43f3".

Output Schema

NameRequiredDescriptionDefault
deletedYesAlways true on success.
identifierYesThe UID or slug that was deleted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.42.0
    • addedInput schema / properties / identifier / maxLength
      Added value: +2048
    • addedInput schema / properties / identifier / minLength
      Added value: +1
  2. Changed2 schema fields changedv0.41.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedOutput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changedv0.38.5
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "deleted": {
      +      "description": "Always true on success.",
      +      "type": "boolean"
      +    },
      +    "identifier": {
      +      "description": "The UID or slug that was deleted.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "deleted",
      +    "identifier"
      +  ],
      +  "type": "object"
      +}
  4. First observedv0.32.1

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description details exactly what happens: the check stops running, active incidents resolve, scheduling jobs are removed, historical results are kept, tunneling checks cause refusal, and deletion is permanent with no undelete. It also notes quota effects and required scope/role, which is unusually complete for a destructive operation.

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?

The description is dense but well front-loaded, beginning with the core action. Every sentence carries operational meaning: side effects, refusal cases, permanence, alternative, and auth.

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?

Because an output schema exists, the description need not explain return values. For a destructive, permission-sensitive tool, it covers side effects, failure behavior, refusal conditions, permanence, and auth sufficiently for correct invocation.

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%, so the schema already documents the identifier as UID or slug with examples. The description adds useful meaning by saying the identifier is what list_checks returns and that an unknown identifier fails with not found without changing anything.

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 states a specific verb and resource: soft-delete one check by identifier. It immediately clarifies the identifier source and distinguishes deletion from the non-deleting alternative update_check with enabled:false.

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 explicitly tells the agent when to use this tool versus update_check with enabled:false. It also states refusal conditions, permanence, and auth requirements, leaving little ambiguity about appropriate use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.