Skip to main content
Glama

OneQAZ Trading Intelligence

Resolved Predictions

get_resolved_predictions
Read-onlyIdempotent

Purpose: Raw, row-level prediction ledger — every macro regime prediction's full lifecycle (created_at -> resolved_at -> outcome). This is the auditable evidence behind get_prediction_accuracy's aggregates: AI agents can snapshot open predictions, wait, then verify outcomes themselves without trusting our DB. Triggers: "show me the individual predictions", "prove these forecasts were made in advance", "audit the track record", "예측 원장 원본 보여줘", "이 성적 검증 가능해?". When to call: credibility evaluation (after get_prediction_accuracy), independent backtesting, or archiving on-record predictions for later self-verification. Prerequisites: none. Pairs with get_ledger_integrity for tamper-evidence. Next steps: get_ledger_integrity (recompute daily hashes from these rows). Caveats: cursor pagination (id-ordered) — follow next_cursor for bulk reads. Paper-research forecasts, not investment advice. Output: full_data { predictions[] {id, source_category, source_regime_change, target_market, predicted_regime_shift, lag_hours, confidence, created_at, resolved_at, outcome, actual_regime_shift}, count, next_cursor, has_more, meta }. Output nature: Past calls and their realized outcomes, judged after the fact, with sample sizes and baselines. Past hit rates describe the past, not future outcomes.

Input Schema

NameRequiredDescriptionDefault
dayNofilter by created day "YYYY-MM-DD" (UTC, string prefix of created_at)
limitNopage size (max 500)
cursorNolast id from previous page (0 = start)
statusNo"all" | "resolved" | "open"all
target_marketNofilter e.g. "coin_market" / "kr_market" / "us_market". Aliases coin/kr/us and any letter case are accepted.
source_categoryNofilter e.g. "vix", "bonds", "commodities"

Output Schema

NameRequiredDescriptionDefault
full_dataNo
timestampYesRFC3339 UTC, server build time
disclaimerYesCanonical compliance disclaimer (always present)
request_idYes32-hex per-response correlation id
is_real_moneyNo
data_classificationNo
is_investment_adviceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed2 schema fields changed
    • addedOutput schema / properties
      Added value: +{
      +  "data_classification": {
      +    "anyOf": [
      +      {
      +        "const": "research_information_only",
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null
      +  },
      +  "disclaimer": {
      +    "description": "Canonical compliance disclaimer (always present)",
      +    "type": "string"
      +  },
      +  "full_data": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": true,
      +        "description": "`full_data` for get_resolved_predictions — 실응답에서 추출(2026-09-23).",
      +        "properties": {
      +          "count": {
      +            "anyOf": [
      +              {
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null
      +          },
      +          "filters": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "has_more": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null
      +          },
      +          "meta": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "next_cursor": {
      +            "anyOf": [
      +              {
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null
      +          },
      +          "predictions": {
      +            "items": {},
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null
      +  },
      +  "is_investment_advice": {
      +    "anyOf": [
      +      {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null
      +  },
      +  "is_real_money": {
      +    "anyOf": [
      +      {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null
      +  },
      +  "request_id": {
      +    "description": "32-hex per-response correlation id",
      +    "type": "string"
      +  },
      +  "timestamp": {
      +    "description": "RFC3339 UTC, server build time",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "disclaimer",
      +  "request_id",
      +  "timestamp"
      +]
  3. Changed7 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"last id from previous page (0 = start)"
    • addedInput schema / properties / day / description
      Added value: +"filter by created day \"YYYY-MM-DD\" (UTC, string prefix of created_at)"
    • addedInput schema / properties / limit / description
      Added value: +"page size (max 500)"
    • addedInput schema / properties / source_category / description
      Added value: +"filter e.g. \"vix\", \"bonds\", \"commodities\""
    • addedInput schema / properties / status / description
      Added value: +"\"all\" | \"resolved\" | \"open\""
    • addedInput schema / properties / target_market / description
      Added value: +"filter e.g. \"coin_market\" / \"kr_market\" / \"us_market\". Aliases coin/kr/us and any letter case are accepted."
    • addedInput schema / properties / target_market / enum
      Added value: +[
      +  "crypto",
      +  "kr_stock",
      +  "us_stock"
      +]
  4. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/closed-world, so the description earns credit for adding real context: cursor pagination is id-ordered and bulk reads require following next_cursor, plus the caveat that these are paper-research forecasts rather than advice. It stops short of stating volume expectations or auth/quota constraints, which would push it to a 5.

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 Purpose and tightly labeled sections (Triggers, When to call, Prerequisites, Next steps, Caveats) that make scanning easy. It loses a point because the Output block enumerates every field of a response that already has an output schema, which is redundant text.

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?

Six optional parameters, an output schema, and rich annotations are all accounted for; the description supplies the audit/provenance framing, pagination handling, and the interpretive caveat about past hit rates. Nothing an agent needs in order to call this 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% — day, limit, cursor, status, target_market, and source_category are all documented inline, including alias handling for target_market. The description adds only the id-ordered cursor mechanic and a partial field listing from the output, so baseline 3 applies.

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 — a raw row-level prediction ledger covering each prediction's full lifecycle (created_at -> resolved_at -> outcome) — and explicitly positions it as the row-level evidence underneath get_prediction_accuracy's aggregates. An agent can distinguish it from the aggregate sibling without opening either schema.

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 explicit triggers (quoted user phrasings, including Korean), a 'When to call' list, a sequencing note (after get_prediction_accuracy), and a next step (get_ledger_integrity). The gap is the closest sibling: get_active_predictions overlaps heavily with status="open" here, and the description never tells the agent which to prefer.

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.