Skip to main content
Glama

PredictAsiaX MCP Server

Create market

pax.composer_proposal_submit
DestructiveIdempotent

Create a market from your own question. On success the market is created and its market_id and status are returned. A creator deposit (deposit_amount, USDT) is debited from the platform balance; if it is too low the error DEPOSIT_REQUIRED states the minimum.

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": {
      "title": "<title>",
      "rules_text": "<rules_text>",
      "resolution_rule": "<resolution_rule>",
      "primary_source_url": "<primary_source_url>",
      "cutoff_time_ms": "<cutoff_time_ms>",
      "resolution_deadline_ms": "<resolution_deadline_ms>",
      "deposit_amount": "<deposit_amount>"
    },
    "name": "pax.composer_proposal_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe market question as users will see it
categoryNoCategory for the market (default Creator)
rules_textYesResolution rules: exactly what makes YES and what makes NO
descriptionNoOptional background for traders
cutoff_time_msYesTrading closes at this time, epoch milliseconds (must be in the future)
deposit_amountYesCreator deposit in USDT, debited from your platform balance
edge_cases_textNoOptional handling of edge cases (delays, ties, revised data)
idempotency_keyNoOptional. Defaults to a key derived from your account, title and cutoff_time_ms, so the same market is not created twice
resolution_ruleYesThe condition that resolves the market, in one sentence
backup_source_urlsNoOptional fallback sources, same rules as primary_source_url
primary_source_urlYeshttps:// URL of the source that decides the outcome; must be an established public data publisher
resolution_deadline_msYesThe outcome is known by this time, epoch milliseconds (after cutoff_time_ms)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • addedInput schema / properties / backup_source_urls
      Added value: +{
      +  "description": "Optional fallback sources, same rules as primary_source_url",
      +  "items": {
      +    "description": "https:// URL",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / category
      Added value: +{
      +  "description": "Category for the market (default Creator)",
      +  "type": "string"
      +}
    • removedInput schema / properties / cutoff_ms
      Removed value: -{
      -  "type": "integer"
      -}
    • addedInput schema / properties / cutoff_time_ms
      Added value: +{
      +  "description": "Trading closes at this time, epoch milliseconds (must be in the future)",
      +  "type": "integer"
      +}
    • removedInput schema / properties / deadline_ms
      Removed value: -{
      -  "type": "integer"
      -}
    • addedInput schema / properties / deposit_amount
      Added value: +{
      +  "description": "Creator deposit in USDT, debited from your platform balance",
      +  "type": "number"
      +}
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "Optional background for traders",
      +  "maxLength": 4000,
      +  "type": "string"
      +}
    • addedInput schema / properties / edge_cases_text
      Added value: +{
      +  "description": "Optional handling of edge cases (delays, ties, revised data)",
      +  "maxLength": 4000,
      +  "type": "string"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional. Defaults to a key derived from your account, title and cutoff_time_ms, so the same market is not created twice",
      +  "maxLength": 128,
      +  "type": "string"
      +}
    • addedInput schema / properties / primary_source_url
      Added value: +{
      +  "description": "https:// URL of the source that decides the outcome; must be an established public data publisher",
      +  "type": "string"
      +}
    • removedInput schema / properties / question
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / resolution_deadline_ms
      Added value: +{
      +  "description": "The outcome is known by this time, epoch milliseconds (after cutoff_time_ms)",
      +  "type": "integer"
      +}
    • addedInput schema / properties / resolution_rule
      Added value: +{
      +  "description": "The condition that resolves the market, in one sentence",
      +  "type": "string"
      +}
    • removedInput schema / properties / rules
      Removed value: -{
      -  "minLength": 20,
      -  "type": "string"
      -}
    • addedInput schema / properties / rules_text
      Added value: +{
      +  "description": "Resolution rules: exactly what makes YES and what makes NO",
      +  "minLength": 20,
      +  "type": "string"
      +}
    • removedInput schema / properties / sources
      Removed value: -{
      -  "items": {
      -    "description": "https:// URLs used as resolution sources",
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / template_id
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / title / description
      Added value: +"The market question as users will see it"
    • changedInput schema / required
      Previous value: -[
      -  "template_id",
      -  "title",
      -  "rules",
      -  "sources",
      -  "cutoff_ms",
      -  "deadline_ms"
      -]New value: +[
      +  "title",
      +  "rules_text",
      +  "resolution_rule",
      +  "primary_source_url",
      +  "cutoff_time_ms",
      +  "resolution_deadline_ms",
      +  "deposit_amount"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses the return payload (market_id and status) despite there being no output schema, and explains that a USDT deposit is debited from the platform balance with a specific DEPOSIT_REQUIRED error naming the minimum. It stops short of stating whether creation is irreversible or how the platform balance shortfall interacts with idempotent retries.

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

Conciseness5/5

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

Three short sentences with the core action front-loaded, followed by the success payload and then the cost of failure. Every sentence carries a distinct fact; there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter, 7-required mutation with no output schema, the description covers the essentials: what is created, what comes back, and what the deposit gate can do. It omits whether the resulting status can be any value other than active, and does not restate the cutoff/resolution-deadline ordering constraint, though the schema already enforces that.

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%, so the schema already documents all 12 parameters including idempotency_key and the timing fields. The description adds meaning only for deposit_amount by tying it to a platform-balance debit and a DEPOSIT_REQUIRED failure mode, which is the expected baseline-plus contribution when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ("Create a market") and adds a scoping qualifier, "from your own question," which implicitly separates it from the template-based composer siblings. It does not name a sibling explicitly, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the phrase "from your own question" suggests this is the path when no template applies, but there is no explicit when-to-use or when-not-to-use statement. No alternative tool (e.g., template listing or template_get) is named as a routing option.

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