Skip to main content
Glama

[ethereum] Forecast card: 4 questions

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
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. 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"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint=false), the description names exactly what is not written ("no room, benchmark, card, or ledger row"), which fields are silently ignored ("fund, tx_hashes and listing_slug"), and that short/empty results are verdicts ("slate_too_small", "empty_slate") rather than errors. It also discloses the theme_not_a_filter warning path and the escrow-requirement state, which annotations alone could not convey.

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?

It is front-loaded with the no-API-key and dry-run framing, and each sentence carries substantive information about filtering, warnings, or return shape. It is dense and long for a single paragraph, and a bulleted parameter breakdown would read faster, but there is little wasted 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?

For a 12-parameter tool it covers the hard parts: the theme-vs-tag filtering rule with its failure mode, the verdict outcomes, and the escrow/draft lifecycle. With an output schema present it rightly does not attempt to enumerate return fields exhaustively.

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?

With 100% schema coverage the baseline is 3, but the description adds real meaning on top: theme is "a display label — never a filter", tag is "the only filter", and three parameters are ignored entirely on this endpoint. That resolves the single most ambiguous interaction in 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?

"Dry-run a forecast slate before publishing it" is a specific verb plus resource and immediately scopes it against the publishing counterpart ("Same body as benchmarks_publish_forecast_slate"). An agent can distinguish the preview tool from the publish tool without inspecting 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?

It says explicitly to use this before publishing and that the body matches the publish tool, giving clear selection context. It does not add explicit when-not-to-use guidance or name other preview/validation alternatives, so it falls short of a 5.

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