Skip to main content
Glama

HTML/CSS to Image API

Get a Webhook

get_webhook
Read-onlyIdempotent

Gets a webhook's endpoint, subscribed events, parameters, signing setting, and enabled state. Secret parameter values and the signing secret are never returned.

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": {
      "id": "<id>"
    },
    "name": "get_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the webhook to retrieve.

Output Schema

NameRequiredDescriptionDefault
itemNoOperation result. Check success before using this value.
errorNoError details when the operation failed; null on success.
successNoWhether the operation succeeded. If false, inspect error before retrying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / item / properties / events / items / enum
      Previous value: -[
      -  "webhook_test",
      -  "template_created",
      -  "template_updated",
      -  "template_deleted",
      -  "image_deleted",
      -  "image_stored",
      -  "proxy_created",
      -  "proxy_updated",
      -  "proxy_deleted",
      -  "storage_destination_created",
      -  "storage_destination_updated",
      -  "storage_destination_deleted",
      -  "og_config_created",
      -  "og_config_updated",
      -  "og_config_deleted",
      -  "api_key_created",
      -  "api_key_updated",
      -  "api_key_deleted",
      -  "organization_plan_changed",
      -  "organization_usage_reset",
      -  "organization_usage_alert"
      -]New value: +[
      +  "webhook_test",
      +  "template_created",
      +  "template_updated",
      +  "template_deleted",
      +  "image_deleted",
      +  "image_stored",
      +  "proxy_created",
      +  "proxy_updated",
      +  "proxy_deleted",
      +  "storage_destination_created",
      +  "storage_destination_updated",
      +  "storage_destination_deleted",
      +  "og_config_created",
      +  "og_config_updated",
      +  "og_config_deleted",
      +  "api_key_created",
      +  "api_key_updated",
      +  "api_key_deleted",
      +  "organization_plan_changed",
      +  "organization_usage_reset",
      +  "organization_usage_alert",
      +  "recording_stored",
      +  "recording_deleted",
      +  "recording_failed"
      +]
  2. Changed1 schema field changed
    • addedOutput schema / properties / item / properties / signing_secret
      Added value: +{
      +  "description": "Signing secret for verifying deliveries. Returned only in the REST API create response, even when signing is disabled. Store it securely; updates, reads, lists, and MCP responses omit this field.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds real value beyond them by disclosing a data-exposure boundary: secret parameter values and the signing secret are never returned, which tells an agent not to expect full configuration and not to worry about leaking credentials.

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?

Two sentences, zero waste. The positive statement of what is returned comes first, and the secrecy caveat is placed immediately after the field that triggers it, which is exactly the right ordering.

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?

An output schema exists and annotations cover the safety posture, so the definition does not need to explain return structure or side effects. The only minor gap is that nothing is said about behavior for a nonexistent or malformed ID, but that is a small omission for a simple read-by-ID 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?

With a single parameter at 100% schema description coverage, the schema already explains 'ID of the webhook to retrieve.' The description implies lookup by a webhook identifier but adds no format, prefix, or error behavior beyond the schema, so the baseline of 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?

States a specific verb and resource ('Gets a webhook') and enumerates the exact fields returned (endpoint, subscribed events, parameters, signing setting, enabled state). Singular lookup by ID makes it clearly distinct from list_webhooks, and the field list separates it from get_webhook_event.

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?

There is no explicit when-to-use or when-not guidance, and no alternative is named. Usage is only implied by the required ID parameter and the returned-field list, which suggests inspection of a single existing webhook rather than listing or event retrieval.

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.