Skip to main content
Glama

void_dispute

Void a stale disputed contract after arbitrator timeout passes, allowing each party to reclaim their principal. Permissionless recovery for unresolved disputes.

Instructions

Void a Disputed contract that the arbitrator never resolved.

This is the recovery path for a stale dispute. It is permissionless: anyone can call it once arbitrator_timeout_blocks have passed since the dispute was filed. The condition is strict: current block height must be GREATER than dispute_filed_block + arbitrator_timeout_blocks. A call exactly on the boundary fails; it succeeds from the next block.

arbitrator_timeout_blocks is a per contract deployment parameter, not a universal constant. Never assume a value: compute eligibility from dispute_filed_block in view_contract plus the timeout of the contract this server is configured for. On the production contract it is 20160 blocks, roughly 14 days; test deployments may use far shorter values.

Voiding moves the contract to Voided status. Neither party wins: each side then reclaims its own principal. After voiding, the requester calls void_claim_requester to reclaim the payment and the worker calls void_claim_node to reclaim the collateral. The dispute fee is forfeited to the protocol treasury.

Check view_contract for dispute_filed_block and get_chain_info for the current height before calling. If the timeout has not passed, the call fails on chain.

Args: job_id: The Disputed contract ID to void.

Returns confirmation of voiding, or error message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Since no annotations are provided, the description fully discloses behavior: permissionless call, failure on boundary block, status change to Voided, fund distribution (each side reclaims principal, forfeited dispute fee), and that the call fails if timeout not yet passed.

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?

The description is relatively long but each sentence serves a purpose, structured into logical paragraphs (purpose, condition, consequences, prerequisites). Could be slightly more concise but maintains clarity.

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?

Given the presence of an output schema, the description adequately covers entry conditions, side effects, and subsequent steps. No significant gaps remain for a complex transaction tool.

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 0% schema description coverage, the description adds crucial meaning: 'The Disputed contract ID to void.' This clarifies the parameter's role, though additional constraints (e.g., format) are absent.

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?

The description clearly states the action (void a disputed contract), the specific condition (arbitrator never resolved), and differentiates from sibling tools like void_claim_requester by explaining the recovery path.

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?

Explicitly explains when to use (stale dispute after timeout), the strict block height condition, that it's permissionless, and the need to check view_contract and get_chain_info beforehand. Warns against assuming timeout values.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/honeytones/idios'

If you have feedback or need assistance with the MCP directory API, please join our Discord server