Skip to main content
Glama

Trillboards DOOH Advertising

test_webhook

Send a test event to a webhook endpoint.

WHEN TO USE:

  • Verifying webhook endpoint is working

  • Testing integration during development

  • Debugging webhook delivery issues

RETURNS:

  • success: Boolean indicating delivery success

  • response_code: HTTP response code from endpoint

  • response_time_ms: Response time in milliseconds

  • error: Error message if delivery failed

EXAMPLE: User: "Test my webhook with a device.online event" test_webhook({ webhook_id: "wh_mmmpdbvj_8b7c5a59296d", event: "device.online" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventNoEvent type to simulate (optional, defaults to device.online)
webhook_idYesWebhook ID to test (wh_xxx format or legacy ObjectId)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / event / description
      Added value: +"Event type to simulate (optional, defaults to device.online)"
    • addedInput schema / properties / webhook_id / description
      Added value: +"Webhook ID to test (wh_xxx format or legacy ObjectId)"
  2. Changed1 schema field changed
    • changedInput schema / properties / event / enum
      Previous value: -[
      -  "device.online",
      -  "device.offline",
      -  "impression.recorded",
      -  "campaign.allocated",
      -  "payout.processed",
      -  "programmatic.ad_started",
      -  "programmatic.ad_ended",
      -  "programmatic.no_fill",
      -  "programmatic.error",
      -  "sensing.threshold_crossed",
      -  "audience.spike",
      -  "audience.venue_busy",
      -  "audience.purchase_intent",
      -  "audience.demographics_update",
      -  "venue.traffic_summary"
      -]New value: +[
      +  "device.online",
      +  "device.offline",
      +  "impression.recorded",
      +  "campaign.allocated",
      +  "payout.processed",
      +  "programmatic.ad_started",
      +  "programmatic.ad_ended",
      +  "programmatic.no_fill",
      +  "programmatic.error",
      +  "sensing.threshold_crossed",
      +  "audience.spike",
      +  "audience.venue_busy",
      +  "audience.purchase_intent",
      +  "audience.demographics_update",
      +  "venue.traffic_summary",
      +  "screen_group.created",
      +  "screen_group.updated",
      +  "screen_group.deleted",
      +  "screen_group.member.added",
      +  "screen_group.member.removed",
      +  "screen_group.content_policy.updated",
      +  "screen_group.sensing_config.updated",
      +  "fleet_command.completed",
      +  "fleet_command.failed"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / event / enum
      Previous value: -[
      -  "device.online",
      -  "device.offline",
      -  "impression.recorded",
      -  "campaign.allocated",
      -  "payout.processed",
      -  "programmatic.ad_started",
      -  "programmatic.ad_ended",
      -  "programmatic.no_fill",
      -  "programmatic.error"
      -]New value: +[
      +  "device.online",
      +  "device.offline",
      +  "impression.recorded",
      +  "campaign.allocated",
      +  "payout.processed",
      +  "programmatic.ad_started",
      +  "programmatic.ad_ended",
      +  "programmatic.no_fill",
      +  "programmatic.error",
      +  "sensing.threshold_crossed",
      +  "audience.spike",
      +  "audience.venue_busy",
      +  "audience.purchase_intent",
      +  "audience.demographics_update",
      +  "venue.traffic_summary"
      +]
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full transparency burden. It discloses the action (sending a test event), the return fields (success, response_code, response_time_ms, error), and includes an example. It doesn't mention potential side effects like triggering downstream actions or rate limits, but for a test function the core behavior is well-covered.

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?

The description is well-structured with purpose, when-to-use, returns, and an example. It front-loads the primary action and uses sections for readability. It is longer than strictly necessary but each section earns its place; the example supports parameter usage.

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?

No output schema is present, so the description appropriately explains return values. It also gives context for when to use the tool, an example call, and covers the parameters. Given the tool's simple nature (2 params, optional event), the description is complete and self-contained.

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%, so the baseline is 3. Both parameters have descriptions in the schema, and the example provides concrete values but doesn't add meaning beyond the schema. No additional parameter nuance is provided in the description.

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 opens with a specific verb and resource: 'Send a test event to a webhook endpoint.' It clearly distinguishes from sibling tools (create_webhook, update_webhook, delete_webhook, get_webhook_deliveries) by focusing on testing/delivery rather than management or retrieval.

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?

A dedicated 'WHEN TO USE' section lists three explicit scenarios: verifying endpoint, testing integration, debugging delivery issues. It offers clear context but does not mention when not to use it or explicitly name alternatives (e.g., use get_webhook_deliveries to inspect past deliveries).

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