Skip to main content
Glama

Agent webhook inbox: a public URL that stores incoming HTTP requests (webhooks, callbacks) for an agent to read, 1-168 h

agent_webhook

Use when an agent must receive a webhook or callback (payment, CI, form) but has no public server. Input: ttl_hours 1-168 (default 24). Output: public url https://1gateway.dev/h/…, id, one-time secret, read URL. Any method is stored (method, query, headers incl. signatures, body), answered 200. Reads free (header x-webhook-secret), ?wait=1-25 long-polls. Receive only; 50 requests, 64 KB each. Use instead: agent_inbox for email; watch_create for alerts on data changes. Example: GET /v1/agent/webhook?ttl_hours=24 Price: $0.01 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agent_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttl_hoursNoHours the URL stays live, 1-168 (default 24); the URL and every stored request are deleted after

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly=false, destructive=false, idempotent=false, openWorld=true; the description adds substantial context beyond that: all HTTP methods are stored with method/query/headers/body, the sender gets a 200, reads are free with x-webhook-secret, ?wait=1-25 long-polling, receive-only semantics, 50-request and 64 KB caps, deletion on TTL expiry, and pricing via x402/USDC across named chains. That is exactly the kind of operational detail annotations cannot convey.

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?

Front-loads the use case, then input/output/behavior/alternatives/example/pricing in a telegraphic, scannable order with no filler. It is dense to the point of run-on (limits, pricing, and chains packed into single clauses), which slightly hurts readability but wastes no words.

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?

With no output schema, the description correctly explains the return payload (public url, id, one-time secret, read URL) and adds the constraints an agent needs to call it correctly: quotas, payload size, receive-only scope, auth header for reads, and cost/payment rails. Nothing material about invoking or using the result is left unspecified.

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% and there is a single ttl_hours param whose schema description already covers range, default, and post-expiry deletion, so the description's 'ttl_hours 1-168 (default 24)' mostly repeats it. It does add the read-side ?wait=1-25 query behavior, but that is not a call parameter of this tool.

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 concrete verb and resource: creates a public URL that stores incoming HTTP requests (webhooks, callbacks) for an agent to read. The title/description pair makes the 1-168h lifetime explicit, and it names what it is not (agent_inbox for email, watch_create for data-change alerts), so an agent can pick it without inspecting siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('Use when an agent must receive a webhook or callback (payment, CI, form) but has no public server') plus explicit routing to alternatives ('Use instead: agent_inbox for email; watch_create for alerts on data changes'). It even supplies a call example with the query string.

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