Skip to main content
Glama

OneQAZ Trading Intelligence

Market Context

get_market_context
Read-onlyIdempotent

Use when the question is about a whole market (KR, US, CRYPTO) — its structure regime and how its groups are positioned. Returns headline claims, the market's structure and global macro regime, the macro categories assumed to affect it (with tuned lags), its groups ordered by distance from the middle regime stage, market-tagged news, and gaps. Not for one sector or stock (use get_group_context or get_symbol_context). Provides regime, signal-score and linkage context with sample sizes and measured hit rates; every link carries its evidence and every empty section is listed in gaps. Not a real-time quote, fundamentals, or full-text news source. Output nature: Self-contained context for one entity: observed state, tracked links with their evidence and sample sizes, and explicit gaps. Not investment advice.

Input Schema

NameRequiredDescriptionDefault
limitNoMax links per section (default 8, max 50).
marketYescrypto / kr_stock / us_stock, or a market word (KR, 국장, 코스피, US, 미장, 나스닥, 코인).
questionNoOptional. The user's original question, used only for service improvement analytics. Does not change the response. Do not include personal information.

Output Schema

NameRequiredDescriptionDefault
gapsNo
metaNo
newsNo
selfNo
peersNo
entityNo
headlineNo
upstreamNo
timestampYesRFC3339 UTC, server build time
disclaimerYesCanonical compliance disclaimer (always present)
downstreamNo
request_idYes32-hex per-response correlation id
resolutionNo
data_classificationNo
is_investment_adviceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / downstream / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "evidence": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "as_of": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "kind": {
      -              "enum": [
      -                "statistical",
      -                "definitional",
      -                "tag",
      -                "hypothesis"
      -              ],
      -              "type": "string"
      -            },
      -            "metric": {
      -              "type": "string"
      -            },
      -            "n": {
      -              "anyOf": [
      -                {
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "source_table": {
      -              "type": "string"
      -            },
      -            "validation": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": true,
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "value": {
      -              "anyOf": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            }
      -          },
      -          "required": [
      -            "kind",
      -            "metric",
      -            "source_table"
      -          ],
      -          "type": "object"
      -        },
      -        "relation": {
      -          "description": "Reads '<entity> <relation> <target>'",
      -          "enum": [
      -            "leads",
      -            "lags",
      -            "co_moves",
      -            "member_of",
      -            "has_member",
      -            "mentioned_in",
      -            "tagged_with",
      -            "affects",
      -            "affected_by"
      -          ],
      -          "type": "string"
      -        },
      -        "scope": {
      -          "default": "direct",
      -          "enum": [
      -            "direct",
      -            "group",
      -            "market_wide"
      -          ],
      -          "type": "string"
      -        },
      -        "target": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "target_observation": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        }
      -      },
      -      "required": [
      -        "target",
      -        "relation",
      -        "evidence"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "evidence": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "as_of": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "kind": {
      +              "enum": [
      +                "statistical",
      +                "definitional",
      +                "tag",
      +                "hypothesis"
      +              ],
      +              "type": "string"
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "n": {
      +              "anyOf": [
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "source_table": {
      +              "type": "string"
      +            },
      +            "validation": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "value": {
      +              "anyOf": [
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "metric",
      +            "source_table"
      +          ],
      +          "type": "object"
      +        },
      +        "relation": {
      +          "description": "Reads '<entity> <relation> <target>'",
      +          "enum": [
      +            "leads",
      +            "lags",
      +            "co_moves",
      +            "member_of",
      +            "has_member",
      +            "mentioned_in",
      +            "tagged_with",
      +            "affects",
      +            "affected_by",
      +            "market_wide_context"
      +          ],
      +          "type": "string"
      +        },
      +        "scope": {
      +          "default": "direct",
      +          "enum": [
      +            "direct",
      +            "group",
      +            "market_wide"
      +          ],
      +          "type": "string"
      +        },
      +        "target": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "target_observation": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        }
      +      },
      +      "required": [
      +        "target",
      +        "relation",
      +        "evidence"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / news / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "evidence": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "as_of": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "kind": {
      -              "enum": [
      -                "statistical",
      -                "definitional",
      -                "tag",
      -                "hypothesis"
      -              ],
      -              "type": "string"
      -            },
      -            "metric": {
      -              "type": "string"
      -            },
      -            "n": {
      -              "anyOf": [
      -                {
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "source_table": {
      -              "type": "string"
      -            },
      -            "validation": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": true,
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "value": {
      -              "anyOf": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            }
      -          },
      -          "required": [
      -            "kind",
      -            "metric",
      -            "source_table"
      -          ],
      -          "type": "object"
      -        },
      -        "relation": {
      -          "description": "Reads '<entity> <relation> <target>'",
      -          "enum": [
      -            "leads",
      -            "lags",
      -            "co_moves",
      -            "member_of",
      -            "has_member",
      -            "mentioned_in",
      -            "tagged_with",
      -            "affects",
      -            "affected_by"
      -          ],
      -          "type": "string"
      -        },
      -        "scope": {
      -          "default": "direct",
      -          "enum": [
      -            "direct",
      -            "group",
      -            "market_wide"
      -          ],
      -          "type": "string"
      -        },
      -        "target": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "target_observation": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        }
      -      },
      -      "required": [
      -        "target",
      -        "relation",
      -        "evidence"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "evidence": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "as_of": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "kind": {
      +              "enum": [
      +                "statistical",
      +                "definitional",
      +                "tag",
      +                "hypothesis"
      +              ],
      +              "type": "string"
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "n": {
      +              "anyOf": [
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "source_table": {
      +              "type": "string"
      +            },
      +            "validation": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "value": {
      +              "anyOf": [
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "metric",
      +            "source_table"
      +          ],
      +          "type": "object"
      +        },
      +        "relation": {
      +          "description": "Reads '<entity> <relation> <target>'",
      +          "enum": [
      +            "leads",
      +            "lags",
      +            "co_moves",
      +            "member_of",
      +            "has_member",
      +            "mentioned_in",
      +            "tagged_with",
      +            "affects",
      +            "affected_by",
      +            "market_wide_context"
      +          ],
      +          "type": "string"
      +        },
      +        "scope": {
      +          "default": "direct",
      +          "enum": [
      +            "direct",
      +            "group",
      +            "market_wide"
      +          ],
      +          "type": "string"
      +        },
      +        "target": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "target_observation": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        }
      +      },
      +      "required": [
      +        "target",
      +        "relation",
      +        "evidence"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / peers / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "evidence": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "as_of": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "kind": {
      -              "enum": [
      -                "statistical",
      -                "definitional",
      -                "tag",
      -                "hypothesis"
      -              ],
      -              "type": "string"
      -            },
      -            "metric": {
      -              "type": "string"
      -            },
      -            "n": {
      -              "anyOf": [
      -                {
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "source_table": {
      -              "type": "string"
      -            },
      -            "validation": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": true,
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "value": {
      -              "anyOf": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            }
      -          },
      -          "required": [
      -            "kind",
      -            "metric",
      -            "source_table"
      -          ],
      -          "type": "object"
      -        },
      -        "relation": {
      -          "description": "Reads '<entity> <relation> <target>'",
      -          "enum": [
      -            "leads",
      -            "lags",
      -            "co_moves",
      -            "member_of",
      -            "has_member",
      -            "mentioned_in",
      -            "tagged_with",
      -            "affects",
      -            "affected_by"
      -          ],
      -          "type": "string"
      -        },
      -        "scope": {
      -          "default": "direct",
      -          "enum": [
      -            "direct",
      -            "group",
      -            "market_wide"
      -          ],
      -          "type": "string"
      -        },
      -        "target": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "target_observation": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        }
      -      },
      -      "required": [
      -        "target",
      -        "relation",
      -        "evidence"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "evidence": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "as_of": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "kind": {
      +              "enum": [
      +                "statistical",
      +                "definitional",
      +                "tag",
      +                "hypothesis"
      +              ],
      +              "type": "string"
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "n": {
      +              "anyOf": [
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "source_table": {
      +              "type": "string"
      +            },
      +            "validation": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "value": {
      +              "anyOf": [
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "metric",
      +            "source_table"
      +          ],
      +          "type": "object"
      +        },
      +        "relation": {
      +          "description": "Reads '<entity> <relation> <target>'",
      +          "enum": [
      +            "leads",
      +            "lags",
      +            "co_moves",
      +            "member_of",
      +            "has_member",
      +            "mentioned_in",
      +            "tagged_with",
      +            "affects",
      +            "affected_by",
      +            "market_wide_context"
      +          ],
      +          "type": "string"
      +        },
      +        "scope": {
      +          "default": "direct",
      +          "enum": [
      +            "direct",
      +            "group",
      +            "market_wide"
      +          ],
      +          "type": "string"
      +        },
      +        "target": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "target_observation": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        }
      +      },
      +      "required": [
      +        "target",
      +        "relation",
      +        "evidence"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / upstream / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "evidence": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "as_of": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "kind": {
      -              "enum": [
      -                "statistical",
      -                "definitional",
      -                "tag",
      -                "hypothesis"
      -              ],
      -              "type": "string"
      -            },
      -            "metric": {
      -              "type": "string"
      -            },
      -            "n": {
      -              "anyOf": [
      -                {
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "source_table": {
      -              "type": "string"
      -            },
      -            "validation": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": true,
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "value": {
      -              "anyOf": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            }
      -          },
      -          "required": [
      -            "kind",
      -            "metric",
      -            "source_table"
      -          ],
      -          "type": "object"
      -        },
      -        "relation": {
      -          "description": "Reads '<entity> <relation> <target>'",
      -          "enum": [
      -            "leads",
      -            "lags",
      -            "co_moves",
      -            "member_of",
      -            "has_member",
      -            "mentioned_in",
      -            "tagged_with",
      -            "affects",
      -            "affected_by"
      -          ],
      -          "type": "string"
      -        },
      -        "scope": {
      -          "default": "direct",
      -          "enum": [
      -            "direct",
      -            "group",
      -            "market_wide"
      -          ],
      -          "type": "string"
      -        },
      -        "target": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "target_observation": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        }
      -      },
      -      "required": [
      -        "target",
      -        "relation",
      -        "evidence"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "evidence": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "as_of": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "kind": {
      +              "enum": [
      +                "statistical",
      +                "definitional",
      +                "tag",
      +                "hypothesis"
      +              ],
      +              "type": "string"
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "n": {
      +              "anyOf": [
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "source_table": {
      +              "type": "string"
      +            },
      +            "validation": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "value": {
      +              "anyOf": [
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "metric",
      +            "source_table"
      +          ],
      +          "type": "object"
      +        },
      +        "relation": {
      +          "description": "Reads '<entity> <relation> <target>'",
      +          "enum": [
      +            "leads",
      +            "lags",
      +            "co_moves",
      +            "member_of",
      +            "has_member",
      +            "mentioned_in",
      +            "tagged_with",
      +            "affects",
      +            "affected_by",
      +            "market_wide_context"
      +          ],
      +          "type": "string"
      +        },
      +        "scope": {
      +          "default": "direct",
      +          "enum": [
      +            "direct",
      +            "group",
      +            "market_wide"
      +          ],
      +          "type": "string"
      +        },
      +        "target": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "target_observation": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        }
      +      },
      +      "required": [
      +        "target",
      +        "relation",
      +        "evidence"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / question / description
      Previous value: -"Optional. The user's original question, used only for service improvement analytics. Does not change the response."New value: +"Optional. The user's original question, used only for service improvement analytics. Does not change the response. Do not include personal information."
  3. Changed4 schema fields changed
    • changedOutput schema / properties / downstream / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "evidence": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "as_of": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "kind": {
      -              "enum": [
      -                "statistical",
      -                "definitional",
      -                "tag",
      -                "hypothesis"
      -              ],
      -              "type": "string"
      -            },
      -            "metric": {
      -              "type": "string"
      -            },
      -            "n": {
      -              "anyOf": [
      -                {
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "source_table": {
      -              "type": "string"
      -            },
      -            "validation": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": true,
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "value": {
      -              "anyOf": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            }
      -          },
      -          "required": [
      -            "kind",
      -            "metric",
      -            "source_table"
      -          ],
      -          "type": "object"
      -        },
      -        "relation": {
      -          "description": "Reads '<entity> <relation> <target>'",
      -          "enum": [
      -            "leads",
      -            "lags",
      -            "co_moves",
      -            "member_of",
      -            "has_member",
      -            "mentioned_in",
      -            "affects",
      -            "affected_by"
      -          ],
      -          "type": "string"
      -        },
      -        "scope": {
      -          "default": "direct",
      -          "enum": [
      -            "direct",
      -            "group",
      -            "market_wide"
      -          ],
      -          "type": "string"
      -        },
      -        "target": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "target_observation": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        }
      -      },
      -      "required": [
      -        "target",
      -        "relation",
      -        "evidence"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "evidence": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "as_of": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "kind": {
      +              "enum": [
      +                "statistical",
      +                "definitional",
      +                "tag",
      +                "hypothesis"
      +              ],
      +              "type": "string"
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "n": {
      +              "anyOf": [
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "source_table": {
      +              "type": "string"
      +            },
      +            "validation": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "value": {
      +              "anyOf": [
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "metric",
      +            "source_table"
      +          ],
      +          "type": "object"
      +        },
      +        "relation": {
      +          "description": "Reads '<entity> <relation> <target>'",
      +          "enum": [
      +            "leads",
      +            "lags",
      +            "co_moves",
      +            "member_of",
      +            "has_member",
      +            "mentioned_in",
      +            "tagged_with",
      +            "affects",
      +            "affected_by"
      +          ],
      +          "type": "string"
      +        },
      +        "scope": {
      +          "default": "direct",
      +          "enum": [
      +            "direct",
      +            "group",
      +            "market_wide"
      +          ],
      +          "type": "string"
      +        },
      +        "target": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "target_observation": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        }
      +      },
      +      "required": [
      +        "target",
      +        "relation",
      +        "evidence"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / news / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "evidence": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "as_of": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "kind": {
      -              "enum": [
      -                "statistical",
      -                "definitional",
      -                "tag",
      -                "hypothesis"
      -              ],
      -              "type": "string"
      -            },
      -            "metric": {
      -              "type": "string"
      -            },
      -            "n": {
      -              "anyOf": [
      -                {
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "source_table": {
      -              "type": "string"
      -            },
      -            "validation": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": true,
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "value": {
      -              "anyOf": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            }
      -          },
      -          "required": [
      -            "kind",
      -            "metric",
      -            "source_table"
      -          ],
      -          "type": "object"
      -        },
      -        "relation": {
      -          "description": "Reads '<entity> <relation> <target>'",
      -          "enum": [
      -            "leads",
      -            "lags",
      -            "co_moves",
      -            "member_of",
      -            "has_member",
      -            "mentioned_in",
      -            "affects",
      -            "affected_by"
      -          ],
      -          "type": "string"
      -        },
      -        "scope": {
      -          "default": "direct",
      -          "enum": [
      -            "direct",
      -            "group",
      -            "market_wide"
      -          ],
      -          "type": "string"
      -        },
      -        "target": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "target_observation": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        }
      -      },
      -      "required": [
      -        "target",
      -        "relation",
      -        "evidence"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "evidence": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "as_of": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "kind": {
      +              "enum": [
      +                "statistical",
      +                "definitional",
      +                "tag",
      +                "hypothesis"
      +              ],
      +              "type": "string"
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "n": {
      +              "anyOf": [
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "source_table": {
      +              "type": "string"
      +            },
      +            "validation": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "value": {
      +              "anyOf": [
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "metric",
      +            "source_table"
      +          ],
      +          "type": "object"
      +        },
      +        "relation": {
      +          "description": "Reads '<entity> <relation> <target>'",
      +          "enum": [
      +            "leads",
      +            "lags",
      +            "co_moves",
      +            "member_of",
      +            "has_member",
      +            "mentioned_in",
      +            "tagged_with",
      +            "affects",
      +            "affected_by"
      +          ],
      +          "type": "string"
      +        },
      +        "scope": {
      +          "default": "direct",
      +          "enum": [
      +            "direct",
      +            "group",
      +            "market_wide"
      +          ],
      +          "type": "string"
      +        },
      +        "target": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "target_observation": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        }
      +      },
      +      "required": [
      +        "target",
      +        "relation",
      +        "evidence"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / peers / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "evidence": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "as_of": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "kind": {
      -              "enum": [
      -                "statistical",
      -                "definitional",
      -                "tag",
      -                "hypothesis"
      -              ],
      -              "type": "string"
      -            },
      -            "metric": {
      -              "type": "string"
      -            },
      -            "n": {
      -              "anyOf": [
      -                {
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "source_table": {
      -              "type": "string"
      -            },
      -            "validation": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": true,
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "value": {
      -              "anyOf": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            }
      -          },
      -          "required": [
      -            "kind",
      -            "metric",
      -            "source_table"
      -          ],
      -          "type": "object"
      -        },
      -        "relation": {
      -          "description": "Reads '<entity> <relation> <target>'",
      -          "enum": [
      -            "leads",
      -            "lags",
      -            "co_moves",
      -            "member_of",
      -            "has_member",
      -            "mentioned_in",
      -            "affects",
      -            "affected_by"
      -          ],
      -          "type": "string"
      -        },
      -        "scope": {
      -          "default": "direct",
      -          "enum": [
      -            "direct",
      -            "group",
      -            "market_wide"
      -          ],
      -          "type": "string"
      -        },
      -        "target": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "target_observation": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        }
      -      },
      -      "required": [
      -        "target",
      -        "relation",
      -        "evidence"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "evidence": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "as_of": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "kind": {
      +              "enum": [
      +                "statistical",
      +                "definitional",
      +                "tag",
      +                "hypothesis"
      +              ],
      +              "type": "string"
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "n": {
      +              "anyOf": [
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "source_table": {
      +              "type": "string"
      +            },
      +            "validation": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "value": {
      +              "anyOf": [
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "metric",
      +            "source_table"
      +          ],
      +          "type": "object"
      +        },
      +        "relation": {
      +          "description": "Reads '<entity> <relation> <target>'",
      +          "enum": [
      +            "leads",
      +            "lags",
      +            "co_moves",
      +            "member_of",
      +            "has_member",
      +            "mentioned_in",
      +            "tagged_with",
      +            "affects",
      +            "affected_by"
      +          ],
      +          "type": "string"
      +        },
      +        "scope": {
      +          "default": "direct",
      +          "enum": [
      +            "direct",
      +            "group",
      +            "market_wide"
      +          ],
      +          "type": "string"
      +        },
      +        "target": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "target_observation": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        }
      +      },
      +      "required": [
      +        "target",
      +        "relation",
      +        "evidence"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / upstream / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "evidence": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "as_of": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "kind": {
      -              "enum": [
      -                "statistical",
      -                "definitional",
      -                "tag",
      -                "hypothesis"
      -              ],
      -              "type": "string"
      -            },
      -            "metric": {
      -              "type": "string"
      -            },
      -            "n": {
      -              "anyOf": [
      -                {
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "source_table": {
      -              "type": "string"
      -            },
      -            "validation": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": true,
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "value": {
      -              "anyOf": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            }
      -          },
      -          "required": [
      -            "kind",
      -            "metric",
      -            "source_table"
      -          ],
      -          "type": "object"
      -        },
      -        "relation": {
      -          "description": "Reads '<entity> <relation> <target>'",
      -          "enum": [
      -            "leads",
      -            "lags",
      -            "co_moves",
      -            "member_of",
      -            "has_member",
      -            "mentioned_in",
      -            "affects",
      -            "affected_by"
      -          ],
      -          "type": "string"
      -        },
      -        "scope": {
      -          "default": "direct",
      -          "enum": [
      -            "direct",
      -            "group",
      -            "market_wide"
      -          ],
      -          "type": "string"
      -        },
      -        "target": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "target_observation": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        }
      -      },
      -      "required": [
      -        "target",
      -        "relation",
      -        "evidence"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "evidence": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "as_of": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "kind": {
      +              "enum": [
      +                "statistical",
      +                "definitional",
      +                "tag",
      +                "hypothesis"
      +              ],
      +              "type": "string"
      +            },
      +            "metric": {
      +              "type": "string"
      +            },
      +            "n": {
      +              "anyOf": [
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "source_table": {
      +              "type": "string"
      +            },
      +            "validation": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "value": {
      +              "anyOf": [
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "metric",
      +            "source_table"
      +          ],
      +          "type": "object"
      +        },
      +        "relation": {
      +          "description": "Reads '<entity> <relation> <target>'",
      +          "enum": [
      +            "leads",
      +            "lags",
      +            "co_moves",
      +            "member_of",
      +            "has_member",
      +            "mentioned_in",
      +            "tagged_with",
      +            "affects",
      +            "affected_by"
      +          ],
      +          "type": "string"
      +        },
      +        "scope": {
      +          "default": "direct",
      +          "enum": [
      +            "direct",
      +            "group",
      +            "market_wide"
      +          ],
      +          "type": "string"
      +        },
      +        "target": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "target_observation": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        }
      +      },
      +      "required": [
      +        "target",
      +        "relation",
      +        "evidence"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed1 schema field changed
    • addedInput schema / properties / question
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional. The user's original question, used only for service improvement analytics. Does not change the response."
      +}
  5. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/closed-world, and the description still adds substantive context: sections returned (headline claims, structure regime, macro categories with tuned lags, groups ordered by distance, market news, gaps), evidence quality (sample sizes, measured hit rates, per-link evidence), and explicit gaps listing. It also sets expectations about staleness and non-advice, neither of which is in the annotations.

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 and sibling routing, then boundary statements, which is the right order. It is a bit long and the 'output nature' sentence partly duplicates earlier statements about evidence and gaps, so not quite maximally tight.

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?

Given an output schema already defines return shape and annotations cover safety, the description fills the remaining agent-relevant gaps: scope, alternatives, content sections, evidence quality, explicit gaps, and non-advice framing. Nothing needed to call or interpret this tool 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%, so limit, market, and question are fully documented by the schema; the description only echoes the market values (KR, US, CRYPTO). Baseline 3 is appropriate since the schema does the heavy lifting and the description adds no syntax or format detail beyond it.

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 scope (whole market: KR, US, CRYPTO), what it returns conceptually (structure regime, group positioning), and explicitly names the sibling tools for narrower scopes (get_group_context, get_symbol_context). An agent can route between these three 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?

Opens with an explicit when-to-use condition ('when the question is about a whole market'), names the alternatives for sector/stock questions, and adds negative boundaries ('Not a real-time quote, fundamentals, or full-text news source'). Both positive and negative selection criteria are present.

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.