Skip to main content
Glama

Get Hook Delivery

get_hook_delivery
Read-onlyIdempotent

Read one accepted event by its returned deliveryId and hook delivery token. Poll after accept_hook_event to distinguish queued, retried and completed delivery. Signed observations attest relay attempts, not successful business processing by the receiver. No new delivery or payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesPrivate delivery token returned by registration; authenticates event submission, delivery lookup and receipt verification for this hook.
hookIdYesHook identifier returned by registration; preserve for all subsequent operations.
deliveryIdYesDelivery identifier returned on event acceptance; acceptance does not mean delivered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / token / description
      Previous value: -"Private 32-byte secret encoded as 64 lowercase hexadecimal characters. Never expose in logs."New value: +"Private delivery token returned by registration; authenticates event submission, delivery lookup and receipt verification for this hook."
  2. Changed4 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / deliveryId / description
      Added value: +"Delivery identifier returned on event acceptance; acceptance does not mean delivered."
    • addedInput schema / properties / hookId / description
      Added value: +"Hook identifier returned by registration; preserve for all subsequent operations."
    • addedInput schema / properties / token / description
      Added value: +"Private 32-byte secret encoded as 64 lowercase hexadecimal characters. Never expose in logs."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world). The description adds genuinely non-derivable behavior: polling semantics and the important caveat that signed observations attest relay attempts, not successful business processing by the receiver. That semantic limit is exactly the kind of context annotations cannot express.

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?

Four short sentences, front-loaded with the core action and the key read/poll distinction. Each sentence carries non-redundant meaning (scope, usage, semantic caveat, no-side-effect guarantee), though the phrasing is slightly dense.

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 read-only 3-parameter tool with no output schema and strong annotations, the description covers the important ground: what it reads, when to call it, the statuses it resolves, and the limit on what a signed observation proves. Return-field detail is absent, but with 100% schema coverage and rich annotations that is a minor gap.

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 token, hookId and deliveryId are already fully documented in the schema, including pattern constraints and the note that acceptance does not mean delivered. The description restates deliveryId and the token but adds no syntax or format detail beyond the schema, so the baseline of 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?

The description states a specific verb and resource: read one accepted event keyed by deliveryId plus hook token. It distinguishes itself from accept_hook_event by positioning itself as the follow-up read/poll step, so an agent can tell the two apart without touching either schema.

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?

It gives clear usage context: poll after accept_hook_event to distinguish queued, retried and completed deliveries. It also rules out side effects ('No new delivery or payment'). It stops short of naming an explicit alternative sibling (e.g. verify_hook_receipt) or when not to use it, so it is clear context but not 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.

Resources