Skip to main content
Glama

riddle_builder_create

Builds a new Riddle of any of the nine types from a build configuration: "type" says which kind (see that argument for what each one is and what it needs at a minimum), "build" carries the content. Everything a type accepts is described on the "build" fields themselves, marked with the types it belongs to; the exhaustive per-type shapes are in riddle://reference/riddle-builder/riddle-types, the block types in riddle://reference/riddle-builder/block-types, and the human help pages at https://www.riddle.com/help/api/build-riddles/riddle-types-and-other-blocks/. To change an existing Riddle instead, use riddle_builder_update (a merge, not a rebuild); to check a configuration without creating anything, riddle_builder_validate. Returns the compact build-configuration envelope of riddle_get (riddle://reference/response-format), with 'queued': true added when queue is set. The new Riddle's view URL comes back in it - "context.viewUrl" once published, "context.viewUrlUnavailable.url" (already final, not live yet) before that.

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": {
      "type": "<type>",
      "build": "<build>"
    },
    "name": "riddle_builder_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
omitNoSections of the returned envelope to leave out; omit the parameter for the whole envelope. "uuid"/"type"/"modifiedAt" are always returned, and whatever you leave out is echoed back under "omittedFields", so a missing key never means the Riddle has none of it. Details: riddle://reference/concepts/warnings.
typeYesWhich kind of Riddle to build - this decides which "build" fields and which block types exist. Quiz: questions with right and wrong answers, scored, one result page per score range (title + blocks). Poll: opinion questions, nothing right or wrong, one shared result page (title + blocks). Personality: answers score towards personalities, the winner is the result (title + blocks + personalities). Form: lead-collecting fields only, no questions (title + blocks). Predictor: predictions of real-world outcomes, scored once the actual result is entered (title + blocks). Minigame: SlotMachine, WheelSpinner, Sudoku, Minesweeper, Crosswords or Connections (title + blocks). Story: linear content pages, no answers of any kind (title + blocks). Leaderboard: a standalone ranking other published Riddles connect to, no blocks (title). Placeholder: no content of its own, routes to another Riddle by prioritized, time-windowed rules (title). Per-type shapes: riddle://reference/riddle-builder/riddle-types.
buildYesThe build configuration of the Riddle type named in "type".This is the raw build configuration in the engine's own key names - the exact same shape riddle_get returns under "build", riddle_builder_update takes, and riddle_builder_validate dry-runs, so a read-back can be fed straight back in - riddle_get's "build" KEY, never the outer envelope around it, whose "uuid" and siblings are rejected as unsupported properties. Unknown keys are rejected rather than ignored. WHICH fields exist is decided by "type": each one below opens with the types it belongs to, and a field the chosen type does not have is rejected. Only "title" exists on all nine.
queueNoWhether to queue the creation asynchronously.
projectNoThe project ID; NULL or omitted: your personal project (on a project API key: that key's project).
publishNoWhether to publish the Riddle right after creation; default false (draft). Distinct from the "publish" field INSIDE the build config, which is the stored publish configuration.
templateIdNoOnly when this build config came from a template you adapted (riddle_template_get): that template's id. Always pass it when you have one - the new Riddle then starts out on the template's whole DESIGN, including what no build config can express, with your build config applied on top. The content is yours either way. Details: riddle://reference/concepts/unknown-properties.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / build / properties / blocks / description
      Previous value: -"The Riddle's blocks - required by every type except Leaderboard and Placeholder, which have none. A block is {\"type\": <one of the block types listed below for the \"type\" you are building>, \"title\": \"...\"} plus that block type's own content, and the content differs sharply per block type - unknown keys are rejected rather than ignored. A CHOICE block's answer options go in \"items\" - not \"answers\" - each one an object: {\"title\": \"Paris\", \"isCorrect\": true} on a Quiz, {\"title\": \"Paris\", \"scores\": [3, 0]} on a Personality Test. The blocks that take typed-in answers instead name their own key - a Quiz TextEntry takes \"answers\", a Quiz GuessIt \"acceptableAnswers\" - and some blocks (a Poll NetPromoterScore) have no options at all; the per-block-type reference below is what says which. A FormBuilder's inputs go in \"fields\" instead. Every remaining property, value range and trap per block type is in riddle://reference/riddle-builder/block-types; read it with reference_get scoped to your \"riddleType\" AND the \"blockTypes\" you intend to build before writing them. The block types each Riddle type allows: >> QUIZ: SingleChoice / MultipleChoice / TextEntry / Order / Flashcard / TypeRush / GuessIt / TapAndFind / SpotTheDifference / QuestionBank - the last two place their answers as hotspots on an image, in percentages of it. >> POLL: SingleChoice / MultipleChoice / Matrix / Order / Upvote / NetPromoterScore / RateIt / Swiper / Reaction / TierList / ThisOrThat / QuestionBank (free text: FormField, fieldType ShortText/LongText/Number). >> PERSONALITY: SingleChoice / MultipleChoice - every answer item's \"scores\" array must have one integer per personality, in personality order. >> FORM: FormBuilder, whose \"fields\" are the 19 types in riddle://reference/riddle-builder/form-field-types. >> PREDICTOR: PickTheWinner / GuessTheScore. >> MINIGAME: SlotMachine / WheelSpinner / Sudoku / Minesweeper / Crosswords. >> STORY: Content / Ad / Quote / InteractiveGraphic / FormBuilder / FormField / FormSelect - a Story has no answers of any kind, so build a Poll or a Quiz instead if you need them. >> QUIZ / PREDICTOR / MINIGAME / STORY additionally take the lead-collecting blocks FormBuilder, FormField and FormSelect in the same array; on a Quiz, a Predictor or a Minigame a Name and an Email field are what make it Leaderboard-connectable (a Story scores nothing, so it collects leads but never feeds a Leaderboard). A QuestionBank block draws its questions from an existing bank (\"questionBankId\" plus a non-empty \"questionBankBlocks\"; riddle://reference/question-bank/overview)."New value: +"The Riddle's blocks - required by every type except Leaderboard and Placeholder, which have none. A block is {\"type\": <one of the block types listed below for the \"type\" you are building>, \"title\": \"...\"} plus that block type's own content, and the content differs sharply per block type - unknown keys are rejected rather than ignored. A CHOICE block's answer options go in \"items\" - not \"answers\" - each one an object: {\"title\": \"Paris\", \"isCorrect\": true} on a Quiz, {\"title\": \"Paris\", \"scores\": [3, 0]} on a Personality Test. The blocks that take typed-in answers instead name their own key - a Quiz TextEntry takes \"answers\", a Quiz GuessIt \"acceptableAnswers\" - and some blocks (a Poll NetPromoterScore) have no options at all; the per-block-type reference below is what says which. A FormBuilder's inputs go in \"fields\" instead. Every remaining property, value range and trap per block type is in riddle://reference/riddle-builder/block-types; read it with reference_get scoped to your \"riddleType\" AND the \"blockTypes\" you intend to build before writing them. The block types each Riddle type allows: >> QUIZ: SingleChoice / MultipleChoice / TextEntry / Order / Flashcard / TypeRush / GuessIt / TapAndFind / SpotTheDifference / QuestionBank - the last two place their answers as hotspots on an image, in percentages of it. >> POLL: SingleChoice / MultipleChoice / Matrix / Order / Upvote / NetPromoterScore / RateIt / Swiper / Reaction / TierList / ThisOrThat / QuestionBank (free text: FormField, fieldType ShortText/LongText/Number). >> PERSONALITY: SingleChoice / MultipleChoice - every answer item's \"scores\" array must have one integer per personality, in personality order. >> FORM: FormBuilder, whose \"fields\" are the 19 types in riddle://reference/riddle-builder/form-field-types. >> PREDICTOR: PickTheWinner / GuessTheScore. >> MINIGAME: SlotMachine / WheelSpinner / Sudoku / Minesweeper / Crosswords / Connections. >> STORY: Content / Ad / Quote / InteractiveGraphic / FormBuilder / FormField / FormSelect - a Story has no answers of any kind, so build a Poll or a Quiz instead if you need them. >> QUIZ / PREDICTOR / MINIGAME / STORY additionally take the lead-collecting blocks FormBuilder, FormField and FormSelect in the same array; on a Quiz, a Predictor or a Minigame a Name and an Email field are what make it Leaderboard-connectable (a Story scores nothing, so it collects leads but never feeds a Leaderboard). A QuestionBank block draws its questions from an existing bank (\"questionBankId\" plus a non-empty \"questionBankBlocks\"; riddle://reference/question-bank/overview)."
    • changedInput schema / properties / type / description
      Previous value: -"Which kind of Riddle to build - this decides which \"build\" fields and which block types exist. Quiz: questions with right and wrong answers, scored, one result page per score range (title + blocks). Poll: opinion questions, nothing right or wrong, one shared result page (title + blocks). Personality: answers score towards personalities, the winner is the result (title + blocks + personalities). Form: lead-collecting fields only, no questions (title + blocks). Predictor: predictions of real-world outcomes, scored once the actual result is entered (title + blocks). Minigame: SlotMachine, WheelSpinner, Sudoku, Minesweeper or Crosswords (title + blocks). Story: linear content pages, no answers of any kind (title + blocks). Leaderboard: a standalone ranking other published Riddles connect to, no blocks (title). Placeholder: no content of its own, routes to another Riddle by prioritized, time-windowed rules (title). Per-type shapes: riddle://reference/riddle-builder/riddle-types."New value: +"Which kind of Riddle to build - this decides which \"build\" fields and which block types exist. Quiz: questions with right and wrong answers, scored, one result page per score range (title + blocks). Poll: opinion questions, nothing right or wrong, one shared result page (title + blocks). Personality: answers score towards personalities, the winner is the result (title + blocks + personalities). Form: lead-collecting fields only, no questions (title + blocks). Predictor: predictions of real-world outcomes, scored once the actual result is entered (title + blocks). Minigame: SlotMachine, WheelSpinner, Sudoku, Minesweeper, Crosswords or Connections (title + blocks). Story: linear content pages, no answers of any kind (title + blocks). Leaderboard: a standalone ranking other published Riddles connect to, no blocks (title). Placeholder: no content of its own, routes to another Riddle by prioritized, time-windowed rules (title). Per-type shapes: riddle://reference/riddle-builder/riddle-types."
  2. Changed2 schema fields changed
    • changedInput schema / properties / build / properties / conditions / description
      Previous value: -"Placeholder only. Prioritized (first match wins), time-windowed routing rules evaluated before the fallback \"riddleId\"; at most 100. Each targets exactly one of \"riddleId\" (UUID of an existing, non-Placeholder, published Riddle) or \"tag\" (name or numeric id of an EXISTING tag in this Riddle's scope - a typo'd name is rejected, never auto-created), never both; a \"tag\" also requires \"tagMode\": \"lastPublished\" or \"random\" (with optional \"randomRefreshIntervalSeconds\", \"random\" only). ONE kind of time window per condition - a date range (\"from\" required, \"to\" optional) or a daily one (\"dailyFrom\" plus \"dailyTo\") - with neither it always matches. No other key is accepted. This REPLACES the whole list, and the stored list is re-sorted into tiers with overlapping windows trimmed, so a read-back is not what you sent. Normalization, and why resending a read-back can delete a condition: riddle://reference/riddle-builder/riddle-types with riddleType [\"Placeholder\"]."New value: +"Placeholder only. Prioritized (first match wins), time-windowed routing rules evaluated before the fallback \"riddleId\"; at most 100. Each targets exactly one of \"riddleId\" (UUID of an existing, non-Placeholder, published Riddle) or \"tag\" (name or numeric id of an EXISTING tag in this Riddle's scope - a typo'd name is rejected, never auto-created), never both; a \"tag\" also requires \"tagMode\": \"lastPublished\" or \"random\" (with optional \"randomRefreshIntervalSeconds\", \"random\" only). ONE kind of time window per condition - a date range (\"from\" required, \"to\" optional) or a daily one (\"dailyFrom\" plus \"dailyTo\", optional \"timezone\") - with neither it always matches. No other key is accepted. This REPLACES the whole list, and the stored list is re-sorted into tiers with overlapping windows trimmed, so a read-back is not what you sent. Normalization, and why resending a read-back can delete a condition: riddle://reference/riddle-builder/riddle-types with riddleType [\"Placeholder\"]."
    • changedInput schema / properties / build / properties / logic / description
      Previous value: -"Quiz / Poll / Form / Story only. Optional branching logic tree over the blocks. A node is {\"blockId\": int, \"branchingType\": \"linear\"|\"answer\"|\"condition\"|\"score\"}. For \"linear\" add \"next\": {<child node>}; for \"answer\" add \"rules\": [{\"answers\": [\"Answer text\"], \"blockId\": int, \"next\": {...}}]; for \"condition\" add \"condition\": {\"field\": string, \"operator\": string, \"value\"?: mixed} plus \"ifTrue\"/\"ifFalse\": {<child node>} (riddle://reference/concepts/logic lists the \"field\"/\"operator\" values); for \"score\" add \"scoreType\": \"total\"|\"block\" plus \"ranges\": [{\"min\": int, \"max\": int, \"blockId\": int, \"next\": {...}}]. A bare {\"blockId\": X} shows X and ends the flow; to merge paths and keep going you must repeat the shared tail under each branch. Omit for a default linear flow. >> QUIZ: A Quiz containing a Flashcard block is linear-only: one \"answer\"/\"condition\"/\"score\" node anywhere in the tree is then rejected for the whole Riddle. >> STORY: A Story has no answers to branch on, so only \"linear\" nodes are meaningful here."New value: +"Every type except a Leaderboard (a standings page with no flow) and a Placeholder (no blocks of its own to branch between). Optional branching tree over the blocks. A node is {\"blockId\": int, \"branchingType\": \"linear\"|\"answer\"|\"condition\"|\"score\"|\"solved\"|\"won\"}. For \"linear\" add \"next\": {<child node>}; for \"answer\" add \"rules\": [{\"answers\": [\"Answer text\"], \"blockId\": int, \"next\": {...}}]; for \"condition\" add \"condition\": {\"field\": string, \"operator\": string, \"value\"?: mixed} plus \"ifTrue\"/\"ifFalse\": {<child node>} (see riddle://reference/concepts/logic for \"field\"/\"operator\"); for \"score\" add \"ranges\": [{\"min\": int, \"max\": int, \"blockId\": int, \"next\": {...}}] plus \"scoreType\": \"block\" (points of that block) or \"total\" (Quiz only, % of max score); for \"solved\" add \"solved\"/\"notSolved\": {<child node>}; for \"won\" add \"won\"/\"notWon\": {<child node>}. A bare {\"blockId\": X} shows X and ends the flow; to merge paths repeat the shared tail under each branch. Omit for a linear flow. >> QUIZ: A Quiz containing a Flashcard block is linear-only: one \"answer\"/\"condition\"/\"score\" node anywhere in the tree is then rejected for the whole Riddle. >> STORY: A Story has no answers to branch on, so only \"linear\" nodes are meaningful here. >> MINIGAME: Which node fits depends on the game: \"solved\" (= awarded any score) on Sudoku/Crosswords/Minesweeper; \"won\" on a SlotMachine, forking on whether the player finished above its \"startBalance\"; \"score\" with \"scoreType\": \"block\" on Minesweeper (accumulates across games) and a SlotMachine (scores the balance handed on); \"answer\" on a WheelSpinner, whose answers are the spin OUTCOMES \"Win\"/\"Lose\", not the wheel fields - it never scores, so \"score\"/\"solved\" on one are rejected."
  3. Changed2 schema fields changed
    • changedInput schema / properties / build / properties / conditions / description
      Previous value: -"Placeholder only. Prioritized (first match wins), time-windowed routing rules evaluated before the fallback \"riddleId\"; at most 100. Each targets exactly one of \"riddleId\" (UUID of an existing, non-Placeholder, published Riddle) or \"tag\" (name or numeric id of an EXISTING tag in this Riddle's scope - a typo'd name is rejected, never auto-created), never both; a \"tag\" also requires \"tagMode\": \"lastPublished\" or \"random\" (with optional \"randomRefreshIntervalSeconds\", \"random\" only). ONE kind of time window per condition - a date range (\"from\" required, \"to\" optional) or a daily one (\"dailyFrom\" plus \"dailyTo\", optional \"timezone\") - with neither it always matches. No other key is accepted. This REPLACES the whole list, and the stored list is re-sorted into tiers with overlapping windows trimmed, so a read-back is not what you sent. Normalization, and why resending a read-back can delete a condition: riddle://reference/riddle-builder/riddle-types with riddleType [\"Placeholder\"]."New value: +"Placeholder only. Prioritized (first match wins), time-windowed routing rules evaluated before the fallback \"riddleId\"; at most 100. Each targets exactly one of \"riddleId\" (UUID of an existing, non-Placeholder, published Riddle) or \"tag\" (name or numeric id of an EXISTING tag in this Riddle's scope - a typo'd name is rejected, never auto-created), never both; a \"tag\" also requires \"tagMode\": \"lastPublished\" or \"random\" (with optional \"randomRefreshIntervalSeconds\", \"random\" only). ONE kind of time window per condition - a date range (\"from\" required, \"to\" optional) or a daily one (\"dailyFrom\" plus \"dailyTo\") - with neither it always matches. No other key is accepted. This REPLACES the whole list, and the stored list is re-sorted into tiers with overlapping windows trimmed, so a read-back is not what you sent. Normalization, and why resending a read-back can delete a condition: riddle://reference/riddle-builder/riddle-types with riddleType [\"Placeholder\"]."
    • changedInput schema / properties / build / properties / logic / description
      Previous value: -"Every type except a Leaderboard (a standings page with no flow) and a Placeholder (no blocks of its own to branch between). Optional branching tree over the blocks. A node is {\"blockId\": int, \"branchingType\": \"linear\"|\"answer\"|\"condition\"|\"score\"|\"solved\"|\"won\"}. For \"linear\" add \"next\": {<child node>}; for \"answer\" add \"rules\": [{\"answers\": [\"Answer text\"], \"blockId\": int, \"next\": {...}}]; for \"condition\" add \"condition\": {\"field\": string, \"operator\": string, \"value\"?: mixed} plus \"ifTrue\"/\"ifFalse\": {<child node>} (see riddle://reference/concepts/logic for \"field\"/\"operator\"); for \"score\" add \"ranges\": [{\"min\": int, \"max\": int, \"blockId\": int, \"next\": {...}}] plus \"scoreType\": \"block\" (points of that block) or \"total\" (Quiz only, % of max score); for \"solved\" add \"solved\"/\"notSolved\": {<child node>}; for \"won\" add \"won\"/\"notWon\": {<child node>}. A bare {\"blockId\": X} shows X and ends the flow; to merge paths repeat the shared tail under each branch. Omit for a linear flow. >> QUIZ: A Quiz containing a Flashcard block is linear-only: one \"answer\"/\"condition\"/\"score\" node anywhere in the tree is then rejected for the whole Riddle. >> STORY: A Story has no answers to branch on, so only \"linear\" nodes are meaningful here. >> MINIGAME: Which node fits depends on the game: \"solved\" (= awarded any score) on Sudoku/Crosswords/Minesweeper; \"won\" on a SlotMachine, forking on whether the player finished above its \"startBalance\"; \"score\" with \"scoreType\": \"block\" on Minesweeper (accumulates across games) and a SlotMachine (scores the balance handed on); \"answer\" on a WheelSpinner, whose answers are the spin OUTCOMES \"Win\"/\"Lose\", not the wheel fields - it never scores, so \"score\"/\"solved\" on one are rejected."New value: +"Quiz / Poll / Form / Story only. Optional branching logic tree over the blocks. A node is {\"blockId\": int, \"branchingType\": \"linear\"|\"answer\"|\"condition\"|\"score\"}. For \"linear\" add \"next\": {<child node>}; for \"answer\" add \"rules\": [{\"answers\": [\"Answer text\"], \"blockId\": int, \"next\": {...}}]; for \"condition\" add \"condition\": {\"field\": string, \"operator\": string, \"value\"?: mixed} plus \"ifTrue\"/\"ifFalse\": {<child node>} (riddle://reference/concepts/logic lists the \"field\"/\"operator\" values); for \"score\" add \"scoreType\": \"total\"|\"block\" plus \"ranges\": [{\"min\": int, \"max\": int, \"blockId\": int, \"next\": {...}}]. A bare {\"blockId\": X} shows X and ends the flow; to merge paths and keep going you must repeat the shared tail under each branch. Omit for a default linear flow. >> QUIZ: A Quiz containing a Flashcard block is linear-only: one \"answer\"/\"condition\"/\"score\" node anywhere in the tree is then rejected for the whole Riddle. >> STORY: A Story has no answers to branch on, so only \"linear\" nodes are meaningful here."
  4. Changed2 schema fields changed
    • changedInput schema / properties / build / properties / conditions / description
      Previous value: -"Placeholder only. Prioritized (first match wins), time-windowed routing rules evaluated before the fallback \"riddleId\"; at most 100. Each targets exactly one of \"riddleId\" (UUID of an existing, non-Placeholder, published Riddle) or \"tag\" (name or numeric id of an EXISTING tag in this Riddle's scope - a typo'd name is rejected, never auto-created), never both; a \"tag\" also requires \"tagMode\": \"lastPublished\" or \"random\" (with optional \"randomRefreshIntervalSeconds\", \"random\" only). ONE kind of time window per condition - a date range (\"from\" required, \"to\" optional) or a daily one (\"dailyFrom\" plus \"dailyTo\") - with neither it always matches. No other key is accepted. This REPLACES the whole list, and the stored list is re-sorted into tiers with overlapping windows trimmed, so a read-back is not what you sent. Normalization, and why resending a read-back can delete a condition: riddle://reference/riddle-builder/riddle-types with riddleType [\"Placeholder\"]."New value: +"Placeholder only. Prioritized (first match wins), time-windowed routing rules evaluated before the fallback \"riddleId\"; at most 100. Each targets exactly one of \"riddleId\" (UUID of an existing, non-Placeholder, published Riddle) or \"tag\" (name or numeric id of an EXISTING tag in this Riddle's scope - a typo'd name is rejected, never auto-created), never both; a \"tag\" also requires \"tagMode\": \"lastPublished\" or \"random\" (with optional \"randomRefreshIntervalSeconds\", \"random\" only). ONE kind of time window per condition - a date range (\"from\" required, \"to\" optional) or a daily one (\"dailyFrom\" plus \"dailyTo\", optional \"timezone\") - with neither it always matches. No other key is accepted. This REPLACES the whole list, and the stored list is re-sorted into tiers with overlapping windows trimmed, so a read-back is not what you sent. Normalization, and why resending a read-back can delete a condition: riddle://reference/riddle-builder/riddle-types with riddleType [\"Placeholder\"]."
    • changedInput schema / properties / build / properties / logic / description
      Previous value: -"Quiz / Poll / Form / Story only. Optional branching logic tree over the blocks. A node is {\"blockId\": int, \"branchingType\": \"linear\"|\"answer\"|\"condition\"|\"score\"}. For \"linear\" add \"next\": {<child node>}; for \"answer\" add \"rules\": [{\"answers\": [\"Answer text\"], \"blockId\": int, \"next\": {...}}]; for \"condition\" add \"condition\": {\"field\": string, \"operator\": string, \"value\"?: mixed} plus \"ifTrue\"/\"ifFalse\": {<child node>} (riddle://reference/concepts/logic lists the \"field\"/\"operator\" values); for \"score\" add \"scoreType\": \"total\"|\"block\" plus \"ranges\": [{\"min\": int, \"max\": int, \"blockId\": int, \"next\": {...}}]. A bare {\"blockId\": X} shows X and ends the flow; to merge paths and keep going you must repeat the shared tail under each branch. Omit for a default linear flow. >> QUIZ: A Quiz containing a Flashcard block is linear-only: one \"answer\"/\"condition\"/\"score\" node anywhere in the tree is then rejected for the whole Riddle. >> STORY: A Story has no answers to branch on, so only \"linear\" nodes are meaningful here."New value: +"Every type except a Leaderboard (a standings page with no flow) and a Placeholder (no blocks of its own to branch between). Optional branching tree over the blocks. A node is {\"blockId\": int, \"branchingType\": \"linear\"|\"answer\"|\"condition\"|\"score\"|\"solved\"|\"won\"}. For \"linear\" add \"next\": {<child node>}; for \"answer\" add \"rules\": [{\"answers\": [\"Answer text\"], \"blockId\": int, \"next\": {...}}]; for \"condition\" add \"condition\": {\"field\": string, \"operator\": string, \"value\"?: mixed} plus \"ifTrue\"/\"ifFalse\": {<child node>} (see riddle://reference/concepts/logic for \"field\"/\"operator\"); for \"score\" add \"ranges\": [{\"min\": int, \"max\": int, \"blockId\": int, \"next\": {...}}] plus \"scoreType\": \"block\" (points of that block) or \"total\" (Quiz only, % of max score); for \"solved\" add \"solved\"/\"notSolved\": {<child node>}; for \"won\" add \"won\"/\"notWon\": {<child node>}. A bare {\"blockId\": X} shows X and ends the flow; to merge paths repeat the shared tail under each branch. Omit for a linear flow. >> QUIZ: A Quiz containing a Flashcard block is linear-only: one \"answer\"/\"condition\"/\"score\" node anywhere in the tree is then rejected for the whole Riddle. >> STORY: A Story has no answers to branch on, so only \"linear\" nodes are meaningful here. >> MINIGAME: Which node fits depends on the game: \"solved\" (= awarded any score) on Sudoku/Crosswords/Minesweeper; \"won\" on a SlotMachine, forking on whether the player finished above its \"startBalance\"; \"score\" with \"scoreType\": \"block\" on Minesweeper (accumulates across games) and a SlotMachine (scores the balance handed on); \"answer\" on a WheelSpinner, whose answers are the spin OUTCOMES \"Win\"/\"Lose\", not the wheel fields - it never scores, so \"score\"/\"solved\" on one are rejected."
  5. Changed2 schema fields changed
    • addedInput schema / properties / build / properties / blocks / items
      Added value: +{
      +  "required": [
      +    "type"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / project / description
      Previous value: -"The project ID; pass NULL for personal project; omit to use the currently selected project."New value: +"The project ID; NULL or omitted: your personal project (on a project API key: that key's project)."
  6. Changed2 schema fields changed
    • addedInput schema / properties / build / properties / attributes
      Added value: +{
      +  "description": "Personality only, optional. Scored via answers' \"attributeScores\"; see riddle-types.",
      +  "type": "array"
      +}
    • changedInput schema / properties / build / properties / blocks / description
      Previous value: -"The Riddle's blocks - required by every type except Leaderboard and Placeholder, which have none. A block is {\"type\": <one of the block types listed below for the \"type\" you are building>, \"title\": \"...\"} plus that block type's own content, and the content differs sharply per block type - unknown keys are rejected rather than ignored. A CHOICE block's answer options go in \"items\" - not \"answers\" - each one an object: {\"title\": \"Paris\", \"isCorrect\": true} on a Quiz, {\"title\": \"Paris\", \"scores\": [3, 0]} on a Personality Test. The blocks that take typed-in answers instead name their own key - a Quiz TextEntry takes \"answers\", a Quiz GuessIt \"acceptableAnswers\" - and some blocks (a Poll NetPromoterScore or TextEntry) have no options at all; the per-block-type reference below is what says which. A FormBuilder's inputs go in \"fields\" instead. Every remaining property, value range and trap per block type is in riddle://reference/riddle-builder/block-types; read it with reference_get scoped to your \"riddleType\" AND the \"blockTypes\" you intend to build before writing them. The block types each Riddle type allows: >> QUIZ: SingleChoice / MultipleChoice / TextEntry / Order / Flashcard / TypeRush / GuessIt / TapAndFind / SpotTheDifference / QuestionBank - the last two place their answers as hotspots on an image, in percentages of it. >> POLL: SingleChoice / MultipleChoice / Matrix / Order / Upvote / NetPromoterScore / RateIt / Swiper / Reaction / TextEntry / TierList / ThisOrThat / QuestionBank. >> PERSONALITY: SingleChoice / MultipleChoice - every answer item's \"scores\" array must have one integer per personality, in personality order. >> FORM: FormBuilder, whose \"fields\" are the 18 types in riddle://reference/riddle-builder/form-field-types. >> PREDICTOR: PickTheWinner / GuessTheScore. >> MINIGAME: SlotMachine / WheelSpinner / Sudoku / Minesweeper / Crosswords. >> STORY: Content / Ad / Quote / InteractiveGraphic / FormBuilder / FormField / FormSelect - a Story has no answers of any kind, so build a Poll or a Quiz instead if you need them. >> QUIZ / PREDICTOR / MINIGAME / STORY additionally take the lead-collecting blocks FormBuilder, FormField and FormSelect in the same array; on a Quiz, a Predictor or a Minigame a Name and an Email field are what make it Leaderboard-connectable (a Story scores nothing, so it collects leads but never feeds a Leaderboard). A QuestionBank block draws its questions from an existing bank (\"questionBankId\" plus a non-empty \"questionBankBlocks\"; riddle://reference/question-bank/overview)."New value: +"The Riddle's blocks - required by every type except Leaderboard and Placeholder, which have none. A block is {\"type\": <one of the block types listed below for the \"type\" you are building>, \"title\": \"...\"} plus that block type's own content, and the content differs sharply per block type - unknown keys are rejected rather than ignored. A CHOICE block's answer options go in \"items\" - not \"answers\" - each one an object: {\"title\": \"Paris\", \"isCorrect\": true} on a Quiz, {\"title\": \"Paris\", \"scores\": [3, 0]} on a Personality Test. The blocks that take typed-in answers instead name their own key - a Quiz TextEntry takes \"answers\", a Quiz GuessIt \"acceptableAnswers\" - and some blocks (a Poll NetPromoterScore) have no options at all; the per-block-type reference below is what says which. A FormBuilder's inputs go in \"fields\" instead. Every remaining property, value range and trap per block type is in riddle://reference/riddle-builder/block-types; read it with reference_get scoped to your \"riddleType\" AND the \"blockTypes\" you intend to build before writing them. The block types each Riddle type allows: >> QUIZ: SingleChoice / MultipleChoice / TextEntry / Order / Flashcard / TypeRush / GuessIt / TapAndFind / SpotTheDifference / QuestionBank - the last two place their answers as hotspots on an image, in percentages of it. >> POLL: SingleChoice / MultipleChoice / Matrix / Order / Upvote / NetPromoterScore / RateIt / Swiper / Reaction / TierList / ThisOrThat / QuestionBank (free text: FormField, fieldType ShortText/LongText/Number). >> PERSONALITY: SingleChoice / MultipleChoice - every answer item's \"scores\" array must have one integer per personality, in personality order. >> FORM: FormBuilder, whose \"fields\" are the 19 types in riddle://reference/riddle-builder/form-field-types. >> PREDICTOR: PickTheWinner / GuessTheScore. >> MINIGAME: SlotMachine / WheelSpinner / Sudoku / Minesweeper / Crosswords. >> STORY: Content / Ad / Quote / InteractiveGraphic / FormBuilder / FormField / FormSelect - a Story has no answers of any kind, so build a Poll or a Quiz instead if you need them. >> QUIZ / PREDICTOR / MINIGAME / STORY additionally take the lead-collecting blocks FormBuilder, FormField and FormSelect in the same array; on a Quiz, a Predictor or a Minigame a Name and an Email field are what make it Leaderboard-connectable (a Story scores nothing, so it collects leads but never feeds a Leaderboard). A QuestionBank block draws its questions from an existing bank (\"questionBankId\" plus a non-empty \"questionBankBlocks\"; riddle://reference/question-bank/overview)."
  7. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare write/non-idempotent/open-world, but the description adds what actually happens: the returned build-configuration envelope matches riddle_get's "build", 'queued': true appears when queue is set, and the view URL is at context.viewUrl or context.viewUrlUnavailable.url before publishing. It also calls out publish defaults to draft and that templateId layers the template's design under the supplied build config.

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?

Purpose, differential routing, and return shape are front-loaded in the first sentences, with no filler sentences. It is a single dense paragraph though, and the return-value discussion could be split out for faster scanning.

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 seven-parameter tool with deeply nested objects and no output schema, the description covers what is created, how the response is shaped, where the view URL lives, and points to the per-type and block-type references. 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% and the schema itself carries the deep per-field explanations, so the top-level description adds little new parameter meaning beyond restating that "type" picks the kind and "build" carries content. The publish-boolean versus in-config "publish" object distinction is useful, but it is duplicated in the schema. Baseline 3 applies when structured fields already do the heavy lifting.

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?

Opens with a specific verb and resource ("Builds a new Riddle of any of the nine types from a build configuration") and immediately maps the two required arguments to their roles. It explicitly separates itself from riddle_builder_update ("a merge, not a rebuild") and riddle_builder_validate, so the agent can place it precisely among siblings.

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?

Names two alternatives with the exact condition that selects each: use update to change an existing Riddle, use validate to dry-run a configuration without creating anything. It also tells the agent to read the block-type reference before writing blocks, which is a concrete prerequisite rather than generic advice.

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