Skip to main content
Glama

Set weekly webhook

set_retention_webhook
DestructiveIdempotent

Subscribe or clear the Monday retention webhook. The POST body matches the email: ruleset diff, one rule to re-read, and the domains this key scanned. No page content is sent. Use when: An installed agent should get the weekly ping without polling get_changelog. Avoid when: You already call get_changelog on your own cron. Do not claim: A webhook delivery is not a scan and not a citation. Verify: Call this tool again with the same url and confirm subscribed is 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": {
      "url": "<url>"
    },
    "name": "set_retention_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic HTTPS endpoint. null or an empty string clears the subscription.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The annotations already declare destructive, idempotent, and open-world behavior, but the description adds meaningful context beyond them: what the POST body contains, that no page content is sent, that a delivery is not a scan or citation, and how to verify subscription. None of this contradicts the annotations.

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 front-loaded with the core action and then organized into 'Use when', 'Avoid when', 'Do not claim', and 'Verify' sections. Every sentence carries operational meaning without unnecessary repetition.

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?

For a one-parameter webhook tool with no output schema, the description covers the action, data sent, semantic caveat, alternative, and verification path. The verification note even indicates what output condition to check, making the definition complete enough to invoke correctly.

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 100%, and the schema already explains that url is a public HTTPS endpoint and that null or an empty string clears the subscription. The description adds payload context and a verification instruction, but little additional meaning specific to the url parameter itself, so the baseline 3 is appropriate.

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 specific verbs and resource: 'Subscribe or clear the Monday retention webhook.' It also distinguishes the tool from get_changelog by explaining the polling alternative, so an agent can tell what this tool does and when it differs from a sibling.

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 gives explicit 'Use when' and 'Avoid when' conditions and names get_changelog as the alternative. The guidance is directly actionable: use it for an installed agent needing the weekly ping without polling, and avoid it when you already poll get_changelog on your own cron.

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.