Skip to main content
Glama

Forward an app's events to a URL

anyhook_destination_add
DestructiveIdempotent

Add a destination to an existing app: new events are forwarded to this URL, with retries, within about a minute, and the app's other destinations stay as they are. Adding a URL the app already has changes nothing. The signing secret for the AnyHook-Signature header is never returned here: the user gets it in the dashboard (the result says where).

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": {
      "appSlug": "<appSlug>",
      "url": "<url>"
    },
    "name": "anyhook_destination_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic https URL that receives each event as a POST.
appSlugYesThe app whose events should be forwarded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, destructiveHint=true, idempotentHint=true), the description discloses delivery latency (~a minute), retry behavior, and that other destinations are unaffected — a useful blast-radius statement for a 'destructive' tool. It also warns that the signing secret is not returned here and lives in the dashboard, though it omits auth/permission requirements and rate limits.

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, front-loaded with the action and effect, then side effects, then the output caveat. No filler and nothing 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 mutating tool with no output schema, the definition covers effect, timing, retries, idempotency, blast radius, and where the secret comes from. Remaining gaps are permissions and how to later remove or inspect the added destination.

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% (public https URL receiving POSTs; app slug for the source app), so the schema already carries parameter meaning. The description only reinforces intent rather than adding syntax, format, or constraint detail beyond the schema; baseline 3 applies.

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 ('Add a destination to an existing app') plus the resulting effect ('new events are forwarded to this URL'). The phrase 'to an existing app' implicitly separates it from anyhook_apps_create, so an agent can tell the two apart without inspecting schemas.

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

Usage Guidelines4/5

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

Clear context for when this applies: forwarding an existing app's events to a new URL, with a note that re-adding an existing URL is a no-op. It does not explicitly name alternatives (e.g., observing events via anyhook_events) or state prerequisites/permissions, so it stops short of full routing 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.