Skip to main content
Glama

List undelivered events for an app

anyhook_undelivered
Read-only

Events for the given app that have not reached a destination: failed, held (circuit_open, quota_exceeded), still retrying, or logged while anyhook-mcp listen was stopped. An app with no destination has none: its events are logged, not forwarded.

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>"
    },
    "name": "anyhook_undelivered"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
appSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • removedInput schema / properties / api_key
      Removed value: -{
      -  "description": "API key (ahk_live_...) from anyhook_quickstart. Only needed over HTTP when no Authorization header is set; ignored over stdio.",
      -  "type": "string"
      -}
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description defines the domain semantics of 'undelivered' precisely, including the held sub-reasons circuit_open and quota_exceeded and the listener-stopped case. The no-destination caveat is genuinely non-obvious behavior an agent could otherwise misread as an empty result.

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 short sentences with no filler, leading with the core definition and following with the edge case. Every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The concept of 'undelivered' is well covered, but for a list tool with zero schema descriptions and no output schema, the definition says nothing about result volume, ordering, or what limit controls. Adequate on semantics, incomplete on invocation mechanics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it does not: appSlug is only obliquely implied by 'for the given app', and limit (1-200) is never mentioned, nor is any default page size or ordering. An agent gets no help on how to bound the request.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource and scope: events for a given app that have not reached a destination, then enumerates the qualifying states (failed, held, retrying, listener stopped). This distinguishes it in practice from a general event-list tool, though it never names a sibling explicitly.

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?

The definition makes clear what falls into this list and adds a useful exclusion (apps with no destination have none, because events are logged rather than forwarded). However, it gives no guidance on when to choose this over related siblings such as the failed-replay or general event tools, leaving the routing decision implicit.

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.