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.

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_resolved_predictions"
  }
}

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.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world, so the description only needs to add context — and it does: id-ordered cursor pagination, tamper-evidence pairing with get_ledger_integrity, and the interpretive caveat that hit rates describe the past, not the future. It loses a point for spending sentences restating the output field list, which the output schema already supplies.

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?

Labeled sections (Purpose/Triggers/When to call/Prerequisites/Next steps/Caveats/Output) front-load the most important information and make scanning easy; the Korean trigger strings earn their place for query matching. The verbatim enumeration of output fields is wasted text against an existing output schema.

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 six-parameter, zero-required read tool with full schema coverage and an output schema, nothing an agent needs is missing: prerequisites, pagination behavior, companion tool, and the advisory disclaimer are all stated. Return-value explanation is optional here and its presence is redundant rather than a gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds operational meaning the schema does not: pagination is id-ordered and bulk reads require following next_cursor. That is genuinely useful for driving the cursor/limit pair correctly, though day/status/target_market filtering semantics are left entirely to 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 verb and resource ("Raw, row-level prediction ledger — every macro regime prediction's full lifecycle") and explicitly positions it relative to a sibling: it is "the auditable evidence behind get_prediction_accuracy's aggregates." An agent can distinguish it from get_prediction_accuracy and get_active_predictions without opening any schema.

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?

Provides literal trigger phrases in two languages, a "When to call" section naming concrete scenarios (credibility evaluation after get_prediction_accuracy, backtesting, archiving), explicit "Prerequisites: none," and a "Next steps" pointer to get_ledger_integrity. It also names a workflow (snapshot open predictions, wait, verify) that tells the agent when this tool is the right one versus an aggregate tool.

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.