Skip to main content
Glama

Intermarket compass

get_intermarket
Read-onlyIdempotent

Intermarket compass — a first-pass read of the market environment through price-ratio lenses: asset-class rotation (bonds vs stocks, commodities), risk appetite (high-yield vs investment-grade credit, small vs large caps, cyclicals vs defensives), defensive flows (gold, utilities, yield-curve proxy) and the dollar. Each lens reports rising/falling vs its 50-day average plus the 20-day change; overall posture is risk_on, risk_off or mixed. Optional focus= ('gold'|'bonds'|'tech'|'commodities'|'equity'|'crypto') adds lenses specific to that asset class.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
focusNoAsset class being analysed — adds its specific lenses

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
focusNo
votesNo
overallNo
questionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / properties / focus / type
      Previous value: -"object"New value: +[
      +  "object",
      +  "null"
      +]
    • changedOutput schema / properties / note / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / overall / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / questions / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / votes / type
      Previous value: -"object"New value: +[
      +  "object",
      +  "null"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / focus / enum
      Previous value: -[
      -  "gold",
      -  "bonds",
      -  "tech",
      -  "commodities",
      -  "equity"
      -]New value: +[
      +  "gold",
      +  "bonds",
      +  "tech",
      +  "commodities",
      +  "equity",
      +  "crypto"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "focus": {
      +      "type": "object"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "overall": {
      +      "type": "string"
      +    },
      +    "questions": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "votes": {
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent, closed-world read, so the burden is light. The description still adds real value beyond them: each lens reports rising/falling vs its 50-day average plus 20-day change, and the tool emits a single posture of risk_on/risk_off/mixed, which tells the agent what kind of judgement to expect.

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 tool's purpose and role, then the lens taxonomy, then the optional focus parameter. It is dense with domain jargon but every clause carries information; a slight trim of the lens enumeration would tighten it.

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-required-param, single-enum, read-only analysis tool with an output schema, the description covers what is computed, how each lens is expressed, the posture enum, and the effect of focus. Nothing an agent needs to invoke it correctly is missing.

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 description coverage is 100% with a single enum-backed parameter, so the baseline is 3. The description restates the same idea ('adds lenses specific to that asset class') without adding syntax, defaults, or per-value distinctions beyond the schema.

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 analytical verb ('first-pass read of the market environment') and resource (price-ratio lenses across asset-class rotation, risk appetite, defensive flows, the dollar), with concrete sub-scopes. No sibling in the list (breadth, macro context, relative strength) overlaps this intermarket-ratio scope, so an agent can route to it unambiguously.

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?

'First-pass read' implies a screening use case, which is useful implied guidance. However, it never says when NOT to use it or which sibling (e.g. get_macro_context, get_market_breadth, get_relative_strength) to prefer under which conditions, so the agent must infer the boundary.

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