Skip to main content
Glama

Vectorial Data Terminal: Hyperliquid, Polymarket & yield for AI agents

submit_predictions_batch

DestructiveIdempotent

Execute a prepared send_predictions_home or collect_prediction_winnings batch with your agent wallet's signature (gasless, via Polymarket's relayer).

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": {
      "batch_id": "<batch_id>",
      "signature": "<signature>"
    },
    "name": "submit_predictions_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_idYesThe batch_id returned by send_predictions_home, collect_prediction_winnings or move_funds
signatureYes0x… EIP-712 signature by your agent wallet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / batch_id / description
      Added value: +"The batch_id returned by send_predictions_home, collect_prediction_winnings or move_funds"
  2. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, openWorldHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds genuinely useful context the annotations lack: the submission is gasless, routed through Polymarket's relayer, and requires the agent wallet's own signature. It still does not say what the destructive effect actually is (funds movement on-chain) or what happens on partial failure.

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?

One sentence, front-loaded with the action and its operand, with the gasless/relayer qualifier as a parenthetical rather than a separate clause. No filler or restatement of the name.

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

Completeness3/5

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

For a two-parameter, destructive, open-world submission tool with no output schema, the definition covers prerequisites and mechanism adequately. It is missing what the caller gets back on success and how failures surface, which matters for a destructive relayer submission.

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 coverage is 100% and both parameters are documented, including the origin of batch_id and the EIP-712 nature of the signature. The description's only added detail, that the signature comes from the agent wallet, restates what the schema already conveys, so the baseline 3 applies.

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 ('Execute') on a specific resource ('a prepared ... batch') and names the two sibling tools whose output it consumes, which separates it from submit_operation, submit_order and submit_prediction_order. It is slightly incomplete because the schema notes batch_id can also come from move_funds, which the description omits.

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?

Saying 'a prepared ... batch' implies the prerequisite workflow: prepare via send_predictions_home or collect_prediction_winnings first, then submit here. It does not state exclusions or failure conditions (e.g., what to do if the batch expired or the signature is rejected), so it stops short of full when/when-not guidance.

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.