Skip to main content
Glama

set_webhook

Register (or replace) this account's webhook; the secret is returned ONCE. Admin scope.

    Hook Detector POSTs signed job.succeeded/job.failed/credits.low (WP-M). `url` https, no
    creds, public host; re-registering ROTATES the secret (a repeat call is not a no-op).
    Verify via X-VHG-Signature: sha256=HMAC_SHA256(secret, raw_body); a webhook.test pings.
    Args: url (1-2048), api_key (admin). Cost=free. Errors: unauthorized, forbidden,
    invalid_request, rate_limited. Returns {url, secret, created_at, events, note,
    test_delivery_id}.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYeshttps:// endpoint that will receive signed event POSTs. Must be a public host with no embedded credentials. Re-registering ANY url rotates the signing secret, so this is not safe to blind-retry.
api_keyNoAPI key for this call. Omit to fall back to the Authorization: Bearer / X-API-Key request header (streamable-HTTP only), then the VHGENGINE_API_KEY env var (the stdio default). No key resolvable -> unauthorized.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoThe endpoint now registered.
noteNoHuman-readable summary, including the rotation warning.
eventsNoEvent types that will be delivered.
secretNoHMAC signing secret, shown exactly once. Verify deliveries with X-VHG-Signature: sha256=HMAC_SHA256(secret, raw_body).
test_noteNoWhat that test delivery is and how to check it.
created_atNoRegistration time, ISO-8601 UTC.
test_delivery_idNoA webhook.test ping enqueued immediately; look it up with list_webhook_deliveries to prove your receiver works.

TDQS

A4.5/5.0
Behavior5/5

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

No annotations are provided, so the description carries full burden. It discloses that the secret is returned only once, re-registration rotates the secret, verification via X-VHG-Signature, webhook.test ping, admin scope, cost, and possible errors. This is exceptional transparency.

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 dense but every sentence adds value: purpose, behavior, verification, parameters, cost, errors, return fields. It is front-loaded with the core action and stays focused without any fluff.

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?

Despite an output schema existing, the description does not need to explain returns but still lists them. It covers authentication, scope, cost, error types, event types, and side effects, making it a complete guide for safe invocation.

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 coverage is 100%, so baseline is 3. The description repeats url constraints (1-2048) and mentions api_key is admin, but the schema already includes detailed parameter descriptions including https requirements and rotation caution. No significant additional parameter meaning is added.

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 'Register (or replace) this account's webhook', a specific verb and resource that clearly distinguishes it from sibling tools like get_webhook or delete_webhook. It also notes the secret is returned once and admin scope, adding precision.

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?

The description states when to use the tool (register/replace) and explicitly warns that a repeat call rotates the secret and is not a no-op, i.e., when not to re-register blindly. It does not name alternative tools, so it falls short of full 5.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a distinct resource and action, e.g., signup vs. delete_account, create_key vs. revoke_key, generate_hooks vs. score_hook. Even similar tools like generate_hooks and generate_hooks_batch are clearly differentiated by single vs. batch operation.

Naming Consistency5/5

All 32 tools use a consistent verb_noun snake_case pattern (e.g., add_credits, create_checkout, revoke_key, list_outcomes) with no mixing of camelCase or other conventions.

Tool Count4/5

32 tools is slightly above the typical 15-tool range, but the domain is broad (account, keys, webhooks, generation, scoring, jobs, outcomes), and each tool has a specific purpose. No tools seem redundant.

Completeness4/5

The tool surface covers most lifecycle operations: CRUD for accounts/keys/webhooks, generation/scoring with batch and async variants, outcomes reporting, and auxiliary tools. Missing explicit delete for hooks (expire automatically) and some update operations, but no critical gaps.

Resources