Skip to main content
Glama

Crypto & Macro Market Data (Tanod)

get_macro_snapshot

Read-onlyIdempotent

utilpeek: Use when an agent needs the rates backdrop before a market decision: Treasury yields, SOFR/EFFR, FX, oil and gas in one call. For the Treasury curve on a past date use treasury_yield_curve. Returns one macro snapshot: US Treasury par yield curve with spreads, ECB euro rates, a dollar-index proxy from them (not the ICE index), EFFR and SOFR (New York Fed), WTI, Brent and Henry Hub spot (US EIA, if configured); each section has source, as-of date and licence. VIX, equity indices and gold are not included (not_included); commodities are null (not_configured) without an EIA key. A failed source is listed in sources_failed, section null; all failing is a 503 (not charged). Informational only, not investment advice. Typically under 0.2 s from cache; up to about 30 s when the slow Treasury feed is fetched. Price: USD 0.004. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/macro-snapshot-api.html

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": "get_macro_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
as_ofNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
disclaimerNo
fear_greedNo
ecb_fx_ratesNo
not_includedNo
retrieved_atNo
sources_failedNo
us_short_ratesNo
commodities_spotNo
dollar_index_proxyNo
treasury_yield_curveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedInput schema / title
      Removed value: -"get_macro_snapshotArguments"
    • removedOutput schema / properties / as_of / description
      Removed value: -"newest as-of date among the sections returned"
    • removedOutput schema / properties / commodities_spot / properties
      Removed value: -{
      -  "as_of": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "series": {
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "source": {
      -    "properties": {
      -      "license": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "notice": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "terms": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "stale": {
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / dollar_index_proxy / properties
      Removed value: -{
      -  "as_of": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "is_ice_index": {
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "method": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "pairs": {
      -    "additionalProperties": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "source": {
      -    "properties": {
      -      "license": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "notice": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "terms": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "stale": {
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "value": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / ecb_fx_rates / properties
      Removed value: -{
      -  "as_of": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "base": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "rates": {
      -    "additionalProperties": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "description": "currency -> units per 1 EUR (strings, ECB figures unchanged)",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "source": {
      -    "properties": {
      -      "license": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "notice": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "terms": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "stale": {
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / fear_greed / description
      Removed value: -"Crypto Fear & Greed block: the same shape as POST /v1/markets/fear-greed"
    • removedOutput schema / properties / not_included / items
      Removed value: -{
      -  "properties": {
      -    "code": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "field": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "reason": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / sources_failed / items
      Removed value: -{
      -  "properties": {
      -    "code": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "source": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / treasury_yield_curve / properties
      Removed value: -{
      -  "as_of": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "source": {
      -    "properties": {
      -      "license": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "notice": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "terms": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "spreads_pct": {
      -    "properties": {
      -      "10y_minus_2y": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "10y_minus_3m": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "stale": {
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "unit": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "yields_pct": {
      -    "additionalProperties": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "description": "tenor ('1 Mo' ... '30 Yr') -> percent",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / us_short_rates / properties
      Removed value: -{
      -  "as_of": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "effr": {
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "sofr": {
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "source": {
      -    "properties": {
      -      "license": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "notice": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "terms": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "stale": {
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "unit": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
  2. Changed1 schema field changed
    • addedOutput schema / properties / us_short_rates / properties / unit
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed4 schema fields changed
    • addedOutput schema / properties / fear_greed
      Added value: +{
      +  "description": "Crypto Fear & Greed block: the same shape as POST /v1/markets/fear-greed",
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / treasury_yield_curve / properties / yields_pct / additionalProperties
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / treasury_yield_curve / properties / yields_pct / description
      Added value: +"tenor ('1 Mo' ... '30 Yr') -> percent"
    • removedOutput schema / properties / treasury_yield_curve / properties / yields_pct / properties
      Removed value: -{
      -  "1 Mo": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "1 Yr": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "1.5 Mo": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "10 Yr": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "2 Mo": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "2 Yr": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "20 Yr": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "3 Mo": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "3 Yr": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "30 Yr": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "4 Mo": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "5 Yr": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "6 Mo": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "7 Yr": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  }
      -}
  4. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, but the description adds materially more: per-section source attribution and licensing, partial-failure behavior (`sources_failed`, section null), total-failure behavior (503, not charged), the EIA-key dependency producing `not_configured` nulls, and cache-vs-live latency (~0.2s vs up to 30s). Pricing (USD 0.004), a 10-call-per-IP-per-UTC-day free tier, and an informational-only disclaimer are all disclosed — none of which annotations cover.

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 contents, then failure modes, then operational facts — a sensible priority order with no filler sentences. It is dense single-paragraph prose heavy on parentheticals, which makes the pricing/docs/latency tail harder to scan than a few short lines would be, but essentially every clause earns its place.

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?

For a zero-parameter aggregate tool with an output schema, the description covers the remaining unknowns an agent needs: which sections are present, which are excluded, what happens on partial and total source failure, configuration prerequisites, latency, cost, and rate limits. Nothing material is left for the agent to discover at call time.

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

Parameters5/5

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

The tool takes zero parameters and the description correctly introduces no parameter discussion, adding no noise. There is no semantic gap to fill because there is no input surface.

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 ('get a macro snapshot') and enumerates exactly what it contains: Treasury par yield curve with spreads, ECB euro rates, dollar-index proxy, EFFR/SOFR, WTI, Brent, Henry Hub. It also explicitly names the sibling treasury_yield_curve for the past-date curve case, so an agent can separate the two tools without opening schemas.

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 when: 'Use when an agent needs the rates backdrop before a market decision', plus a when-to-use-the-alternative rule ('For the Treasury curve on a past date use treasury_yield_curve'). It further bounds scope with a negative list (VIX, equity indices, gold not included), which prevents mis-selection for equity or volatility queries.

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.