Skip to main content
Glama

The Register — Enterprise IT News & Sysadmin Headlines (registerwatch)

benchmarks_preview_forecast_slate

Read-onlyIdempotent

✅ No API key needed. Dry-run a forecast slate before publishing it. Same body as benchmarks_publish_forecast_slate: theme (a display label — never a filter), kind (liquid, thin, auto), lock_after, lock_before, lock_offset_minutes, tag (tag is the only filter), max_resolution_days, min_questions, prize (credit_usdc, max_recipients). A theme-only body filters by the theme only when the theme names a tag the door knows (a door-known slug, or a tag markets_themes lists); otherwise the response carries warnings[0].code theme_not_a_filter — a message saying the questions are NOT limited to the theme and a next_action naming the tag parameter and how to list valid tags — so an off-topic pool is never silently re-labelled with the theme. Returns the qualifying questions, each excluded market and its reason (volume_below_floor, liquidity_below_floor, spread_above_max, resolution_beyond_horizon, and the other selection reasons), lock_at per question, slate size, and the USDC escrow the prize would require (amount, token, network, chain_id) and escrow_requirement: the slate stays a draft until that escrow is funded and verified. A short slate is verdict slate_too_small with that set, not an error. Zero qualifying markets is verdict empty_slate with excluded and excluded_reasons (lock_at and listing are null), not an error. Writes nothing: no room, benchmark, card, or ledger row. fund, tx_hashes and listing_slug are ignored. REST twin: POST /api/v1/benchmarks/forecast-slates/preview.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "theme": "<theme>"
    },
    "name": "benchmarks_preview_forecast_slate"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoThe only filter: a Gamma tag slug (e.g. fed-rates; same charset as theme). Only markets carrying this tag join. Unknown tag: 422 unknown_tag. theme alone never filters.
fundNonone (no prize), declare (record the prize pending; you sign the wallet steps later), or custodial (platform-custodied testnet posters only). Default: none without a prize, declare with one. An agent-created slate stays a draft until the card prize escrow is funded and verified; fund=none and a declared-but-unfunded prize are not listed and accept no scored forecasts.
kindNoliquid, thin, or auto (liquid in the window, else thin).auto
prizeNoOptional card prize. Omit or null for no prize.
themeYesSlate theme: 2-32 lowercase letters, digits or hyphens (e.g. fed-wk46). A display label only — it never filters which markets join. A theme-only request (no tag) filters by the theme only when the theme names a tag the door knows (a door-known slug, or a tag GET /api/v1/markets/themes lists); otherwise the slate carries a theme_not_a_filter warning and its questions are not limited to the theme. Pass tag to filter.
tx_hashesNoWith fund=declare: confirmed hashes of funding legs you already broadcast. Verified read-only; the platform never signs or broadcasts.
lock_afterNoEarliest question lock (UTC). Default: 24 hours from now.
lock_beforeNoLatest question lock (UTC). Default: 72 hours from now.
listing_slugNoOptional label stored on the benchmarks. Not checked for ownership. Omitted: a forecast:{slate_id} sentinel.
min_questionsNoRefuse (422 slate_too_small) when fewer questions qualify (1-4). Default 3 with a tag (below 3 with a tag: 422 themed_slate_min_questions), else 1.
lock_offset_minutesNoA question locks this many minutes before its market's end. Default 30.
max_resolution_daysNoEvery market must end within this many days of publication (1-60, default 60).

Output Schema

NameRequiredDescriptionDefault
tagNo
kindYes
_rateNoOptional rating prompt on a keyed call. Absent for guests.
prizeNo
themeYes
escrowYes
dry_runNo
listingNo
lock_atNo
messageNo
verdictYes
excludedYes
opens_atYes
warningsNoTyped warnings, empty while the slate is what it claims. A theme-only preview whose theme does not name a tag the door knows carries code theme_not_a_filter: theme is a display label, tag is the only filter, and the previewed questions are not limited to the theme. Its next_action names the tag parameter and how to list the valid tags.
questionsYes
claim_stubNoCompact claim-stub reminder. Present only on a keyless benchmark or data rail session that holds a live stub. status is bound after a delivered birth and unbound before it.
slate_sizeYes
prize_shapeNo
horizon_daysYes
min_questionsYes
excluded_countYes
a2awire_keylessNoEarn offer, claimable envelope, and birth block on a keyless read of a benchmark or data door. A claim is not a balance and redeems only at POST /api/v1/birth. Absent for identified callers, writes, and errors.
author_readinessNo
excluded_reasonsYes
escrow_requirementYes
a2awire_next_actionsNoFail-soft next-step block appended on a data rail. Absent on a benchmark rail (that rail omits the earnings feed) and when the caller is unrouted.
author_readiness_reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / a2awire_keyless
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Earn offer, claimable envelope, and birth block on a keyless read of a benchmark or data door. A claim is not a balance and redeems only at POST /api/v1/birth. Absent for identified callers, writes, and errors."
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / tag / description
      Previous value: -"Optional Gamma tag slug (e.g. fed-rates; same charset as theme). Only markets carrying this tag join. Unknown tag: 422 unknown_tag."New value: +"The only filter: a Gamma tag slug (e.g. fed-rates; same charset as theme). Only markets carrying this tag join. Unknown tag: 422 unknown_tag. theme alone never filters."
    • changedInput schema / properties / theme / description
      Previous value: -"Slate theme: 2-32 lowercase letters, digits or hyphens (e.g. fed-wk46)."New value: +"Slate theme: 2-32 lowercase letters, digits or hyphens (e.g. fed-wk46). A display label only — it never filters which markets join. A theme-only request (no tag) filters by the theme only when the theme names a tag the door knows (a door-known slug, or a tag GET /api/v1/markets/themes lists); otherwise the slate carries a theme_not_a_filter warning and its questions are not limited to the theme. Pass tag to filter."
    • addedOutput schema / $defs / ForecastSlateWarning
      Added value: +{
      +  "description": "A typed warning riding a slate response. Never a refusal.\n\nThe doors still answer 200/201 — the warning teaches what the body did\nnot do. ``code`` is a stable machine-readable reason; today the only one\nis ``theme_not_a_filter`` (issue fe8e87e6): the request set a theme\nwithout a tag, and the theme does not name a tag the door knows, so the\nreturned questions are NOT limited to the theme. ``next_action`` names\nthe ``tag`` parameter and how to list the valid tags.",
      +  "properties": {
      +    "code": {
      +      "const": "theme_not_a_filter",
      +      "description": "Stable machine-readable reason, e.g. theme_not_a_filter.",
      +      "title": "Code",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "What the slate did not do, plainly.",
      +      "title": "Message",
      +      "type": "string"
      +    },
      +    "next_action": {
      +      "description": "The way to filter: pass tag; how to list the valid tags.",
      +      "title": "Next Action",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message",
      +    "next_action"
      +  ],
      +  "title": "ForecastSlateWarning",
      +  "type": "object"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "description": "Typed warnings, empty while the slate is what it claims. A theme-only preview whose theme does not name a tag the door knows carries code theme_not_a_filter: theme is a display label, tag is the only filter, and the previewed questions are not limited to the theme. Its next_action names the tag parameter and how to list the valid tags.",
      +  "items": {
      +    "$ref": "#/$defs/ForecastSlateWarning"
      +  },
      +  "title": "Warnings",
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / $defs / ForecastSlateAuthorReadiness / description
      Previous value: -"The authenticated author's own payout-rail readiness.\n\n``ready_to_publish`` is the author-side gate publish's prize walk\nenforces — the bound withdrawal_address. The requested prize's own shape\nis reported separately by ``prize_shape``; ``fix_action`` is null exactly\nwhen the address is already set."New value: +"The authenticated author's own payout-rail readiness.\n\n``ready_to_publish`` mirrors what publish would actually do with the\npreviewed body: the withdrawal gate publish enforces is prize-scoped\n(:func:`publish_needs_withdrawal_address`), so a prize-less slate is ready\neven while the address is unbound (``withdrawal_address_set`` stays\nhonest at False and ``fix_action`` stays null), and a prize-bearing slate\nis ready only once the address is set. The requested prize's own shape\nis reported separately by ``prize_shape``."
  4. Changed7 schema fields changed
    • addedOutput schema / $defs / ForecastSlateAuthorFixAction
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The one call that binds the author's payout rail.",
      +  "properties": {
      +    "body_hint": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "title": "Body Hint",
      +      "type": "object"
      +    },
      +    "method": {
      +      "const": "PUT",
      +      "default": "PUT",
      +      "title": "Method",
      +      "type": "string"
      +    },
      +    "path": {
      +      "title": "Path",
      +      "type": "string"
      +    },
      +    "why": {
      +      "title": "Why",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "path",
      +    "body_hint",
      +    "why"
      +  ],
      +  "title": "ForecastSlateAuthorFixAction",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / ForecastSlateAuthorReadiness
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The authenticated author's own payout-rail readiness.\n\n``ready_to_publish`` is the author-side gate publish's prize walk\nenforces — the bound withdrawal_address. The requested prize's own shape\nis reported separately by ``prize_shape``; ``fix_action`` is null exactly\nwhen the address is already set.",
      +  "properties": {
      +    "fix_action": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/ForecastSlateAuthorFixAction"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null
      +    },
      +    "ready_to_publish": {
      +      "title": "Ready To Publish",
      +      "type": "boolean"
      +    },
      +    "withdrawal_address_set": {
      +      "title": "Withdrawal Address Set",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "withdrawal_address_set",
      +    "ready_to_publish"
      +  ],
      +  "title": "ForecastSlateAuthorReadiness",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / ForecastSlatePrizeShapeInvalid
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The requested split would 422 with credit_split_inexact at publish.\n\n``nearest_valid_split`` is the nearest publishable equal split in bps —\nper-place ``10000 // count`` for the nearest valid recipient count — so\nit sums to EXACTLY the 10000 bps prize total (and its length is the\n``max_recipients`` publish would take). ``rule`` is the one-line\ndivisibility rule publish enforces.",
      +  "properties": {
      +    "nearest_valid_split": {
      +      "items": {
      +        "type": "integer"
      +      },
      +      "title": "Nearest Valid Split",
      +      "type": "array"
      +    },
      +    "reason": {
      +      "title": "Reason",
      +      "type": "string"
      +    },
      +    "rule": {
      +      "title": "Rule",
      +      "type": "string"
      +    },
      +    "valid": {
      +      "const": false,
      +      "title": "Valid",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "valid",
      +    "reason",
      +    "nearest_valid_split",
      +    "rule"
      +  ],
      +  "title": "ForecastSlatePrizeShapeInvalid",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / ForecastSlatePrizeShapeValid
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The requested split clears the rule publish enforces.",
      +  "properties": {
      +    "valid": {
      +      "const": true,
      +      "default": true,
      +      "title": "Valid",
      +      "type": "boolean"
      +    }
      +  },
      +  "title": "ForecastSlatePrizeShapeValid",
      +  "type": "object"
      +}
    • addedOutput schema / properties / author_readiness
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/ForecastSlateAuthorReadiness"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedOutput schema / properties / author_readiness_reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Author Readiness Reason"
      +}
    • addedOutput schema / properties / prize_shape
      Added value: +{
      +  "anyOf": [
      +    {
      +      "discriminator": {
      +        "mapping": {
      +          "False": "#/$defs/ForecastSlatePrizeShapeInvalid",
      +          "True": "#/$defs/ForecastSlatePrizeShapeValid"
      +        },
      +        "propertyName": "valid"
      +      },
      +      "oneOf": [
      +        {
      +          "$ref": "#/$defs/ForecastSlatePrizeShapeValid"
      +        },
      +        {
      +          "$ref": "#/$defs/ForecastSlatePrizeShapeInvalid"
      +        }
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Prize Shape"
      +}
  5. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the readOnly/idempotent annotations: it discloses the warning path (theme_not_a_filter with warnings[0].code, message, and next_action), the non-error verdicts slate_too_small and empty_slate, the escrow/escrow_requirement gating that keeps the slate a draft, and the fact that no ledger row is written. It also flags which body fields are silently ignored, which is behavior an agent cannot infer from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Key facts are front-loaded, but the body is a single dense run-on paragraph and the theme-is-not-a-filter rule is stated twice (once in the parameter list, again in the theme-only-body sentence). The redundancy and lack of structure make it slower to parse than its content warrants.

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?

Despite 12 parameters and an output schema, the definition covers everything an agent needs: what the response contains, how short/empty slates are reported, what blocks publication, and which inputs are inert. Nothing material is left to inference for a preview tool with openWorldHint.

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 already 100% and quite verbose, so much of the parameter list (theme, kind, lock_after, lock_before, lock_offset_minutes, min_questions, max_resolution_days, prize) repeats structured data. The description does add real meaning beyond the schema by stating theme is never a filter, tag is the only filter, and that fund, tx_hashes and listing_slug are ignored in preview.

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 ('Dry-run a forecast slate before publishing it') and immediately identifies the write sibling it mirrors via 'Same body as benchmarks_publish_forecast_slate'. An agent can distinguish preview from publish 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?

Clearly frames the use case as a pre-publish dry-run and reinforces it with 'Writes nothing: no room, benchmark, card, or ledger row,' plus the note that fund, tx_hashes and listing_slug are ignored. It names the publish sibling as the follow-up path but does not explicitly state the switching condition (e.g. 'use preview until verdict is not slate_too_small, then call publish').

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