Skip to main content
Glama

MacroTape market brief

Register a MacroTape webhook alert

register_alert_webhook

Register an https URL to receive signed JSON alerts when the 10-year Treasury par yield moves more than 10 bp vs the prior close or MacroTape's computed DXY-style index from ECB reference rates (not the ICE U.S. Dollar Index) moves more than 1%. Returns the signing secret ONCE (header MacroTape-Signature: t=..,v1=HMAC-SHA256(secret, t + '.' + body)). Needs an API Light, Pro or internal key in 'Authorization: Bearer ' (trial keys get 403). Informational market data only; not investment advice.

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": {
      "url": "<url>"
    },
    "name": "register_alert_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps URL on port 443 with a public domain name.
eventsNoWhich alert metrics to subscribe to. Omit for all currently enabled events.
descriptionNoOptional short label for this hook (max 100 characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / description / description
      Added value: +"Optional short label for this hook (max 100 characters)."
    • changedInput schema / properties / events / description
      Previous value: -"Default: all enabled events."New value: +"Which alert metrics to subscribe to. Omit for all currently enabled events."
    • addedInput schema / properties / events / items / description
      Added value: +"Alert metric id (treasury_10y_yield or dxy_style_index)."
  2. Changed2 schema fields changed
    • changedInput schema / properties / events / description
      Previous value: -"Default: all three."New value: +"Default: all enabled events."
    • changedInput schema / properties / events / items / enum
      Previous value: -[
      -  "treasury_10y_yield",
      -  "btc_24h",
      -  "dxy_style_index"
      -]New value: +[
      +  "treasury_10y_yield",
      +  "dxy_style_index"
      +]
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare a non-read-only, open-world, non-idempotent, non-destructive write; the description goes well beyond them by disclosing the auth header format and required key tier, the 403 on trial keys, and that the signing secret is returned exactly once with the specific HMAC signature construction. That one-time-secret behavior is critical operational context an agent could not 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 trigger condition, then the return/secret contract, then auth, then the informational disclaimer — a sensible priority order with no filler. It is dense and long-ish for a definition, but nearly every clause carries operational weight; only the trailing 'not investment advice' line is borderline boilerplate.

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?

With no output schema, the description correctly compensates by describing the return value (signing secret, once) and the signature header format, plus auth prerequisites. Remaining gaps are minor: response body shape beyond the secret, behavior when re-registering the same URL given idempotentHint=false, and any rate limits.

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 would be 3, but the description adds meaning the schema does not: each enum id maps to a stated threshold (10 bp vs 1%), and the note about ECB reference rates clarifies what dxy_style_index actually measures. It does not explain the default-expansion behavior when events is omitted beyond what the schema already says.

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 specific verb and resource ('Register an https URL') and immediately pins down the exact trigger semantics: 10 bp on the 10-year Treasury par yield or 1% on MacroTape's ECB-derived DXY-style index, explicitly excluding the ICE U.S. Dollar Index. An agent can distinguish this from list_alert_webhooks, test_alert_webhook and delete_alert_webhook on behavior, not just name.

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?

Gives the concrete conditions under which the hook fires and the prerequisite credential tier, including that trial keys yield 403 — actionable when-to-use context. It does not, however, route the agent to siblings (e.g. test_alert_webhook to verify the endpoint or list_alert_webhooks to avoid duplicates), so the alternative-selection guidance is implicit rather than explicit.

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