Skip to main content
Glama

zdte.ai SPX Market Structure

Subscribe to Market-Structure Event

subscribe_event

Subscribe a callback URL to a market-structure event (zero_gamma_flip | new_wall | regime_transition). The answer includes signing_secret, shown only once: store it. Each time the event fires, the callback receives an HTTPS POST whose JSON body has id (one per delivered event; ignore a repeat), event, at (ISO 8601 UTC time of the market snapshot the event was seen in), subscription_id and data, the event's values: zero_gamma_flip has gamma_flip and spot, new_wall has which (call_wall or put_wall) and level, regime_transition has from and to. To verify a delivery, read the ZDtE-Signature header, t=,v1=: compute HMAC-SHA256 keyed with signing_secret exactly as returned (its text as bytes; do not hex-decode it) over t, a period and the raw request body, compare it with v1 in constant time, and reject the delivery if t is more than 5 minutes old.

Input Schema

NameRequiredDescriptionDefault
eventYesWhich market-structure event to subscribe to: zero_gamma_flip, new_wall, or regime_transition.
callback_urlYesHTTPS URL that receives a POST when the event fires.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true, non-idempotent, non-destructive) by disclosing that signing_secret is returned only once, the exact HTTPS POST payload shape, the per-delivery id dedupe rule, and the full HMAC verification contract with a 5-minute replay window. This is exactly the operational context an agent cannot infer from structured fields.

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-loaded with the action, the event enum, and the one-time signing_secret warning, so the critical facts come first. It is a dense single paragraph, and the signature-verification algorithm could be segmented or moved to a docs pointer, but no sentence is truly wasted for a webhook tool.

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 2-parameter tool with no output schema, the description effectively covers the return value (signing_secret, one-time) and the full downstream webhook contract. Remaining gaps are subscription lifecycle details such as limits, auth requirements, and error behavior on an invalid or unreachable callback URL.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning by spelling out what each event type delivers in its data payload (gamma_flip/spot, which/level, from/to), which helps an agent pick the right enum value. The callback_url parameter still gets no added semantics beyond the schema.

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 verb and resource (subscribe a callback URL to a market-structure event) and enumerates the three event types inline. The verb alone separates it from its siblings unsubscribe_event and list_subscriptions, though it never names an alternative 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?

When-to-use is implied by the verb and the event enum, but there is no explicit guidance on when not to use it, how to remove a subscription (unsubscribe_event exists), whether duplicate subscriptions are permitted, or any prerequisite like the callback being publicly reachable over HTTPS.

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