Skip to main content
Glama

ohmyho.st

Deactivate one webhook subscription generation

database_webhook_subscription_deactivate
DestructiveIdempotent

Deactivate one generation. Replay the same key after uncertainty; deliveries are not guaranteed while inactive. Requires confirmed: true.

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": {
      "project_id": "<project_id>",
      "subscription_id": "<subscription_id>",
      "generation": "<generation>",
      "environment": "<environment>",
      "idempotency_key": "<idempotency_key>",
      "confirmed": "<confirmed>"
    },
    "name": "database_webhook_subscription_deactivate"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedYes
generationYesPositive activation generation, starting at one.
project_idYesProject identifier.
environmentYesApplication environment the mutation applies to.
idempotency_keyYesIdentifies one mutation and its canonical request payload.
subscription_idYesStable, client-chosen subscription ULID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description earns credit for adding consequences rather than restating them: deliveries are not guaranteed while inactive, and the same idempotency key should be replayed after an uncertain outcome. It still does not say whether deactivation is reversible, whether deliveries are dropped or queued, or what happens to a stale generation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and followed by the operational caveat and the hard requirement. Dense but efficient; the only cost is that terse phrasing like 'one generation' leans on the tool name for interpretation.

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 destructive, six-required-parameter mutation with no output schema, the description covers the key hazards (deliveries stop, confirmed must be true, retry with the same key). It omits reversibility/reactivation path and failure behavior for a mismatched generation, which an agent would want before calling a destructive tool.

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 description coverage is high (83%), so the schema already documents project_id, subscription_id, generation, environment, and idempotency_key. The description reinforces two of them — the required confirmed guard and the replay-the-same-key semantics — but adds no meaning for generation numbering or environment targeting beyond the schema, so baseline 3 applies.

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 gives a specific verb ('Deactivate') and a scoped resource ('one generation'), which pairs with the tool name to tell an agent this deactivates a single webhook subscription generation rather than the whole subscription. It does not, however, distinguish itself from the sibling 'database_webhook_delete', so the deactivate-vs-delete boundary is left to inference.

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?

'Replay the same key after uncertainty' is real operational guidance for retries, but there is no statement of when to deactivate versus delete the webhook or when to check status first. Usage is implied rather than scoped against alternatives.

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.