Skip to main content
Glama

Bull Get Deal

bull_get_deal
Read-only

Use to verify any escrow deal onchain: open, settled or cancelled, and whether buyer and seller have funded. Public, no signature needed. Returns the deal state read from the contract.

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": {
      "dealId": "<dealId>"
    },
    "name": "bull_get_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNorobinhood (default), base, arc, elysium or solana. Deal ids are per chain: pass the chain the deal was opened on.
dealIdYesDeal number from the DealCreated event.
escrowNoOptional: the escrow contract the deal lives on, as listed in bull_stats recent[].escrow. Needed only for a deal on an earlier (retired) escrow: deal numbers restart at 1 on every escrow. Default: the current escrow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / chain / description
      Previous value: -"robinhood (default), base, arc, elysium, solana or near. Deal ids are per chain: pass the chain the deal was opened on."New value: +"robinhood (default), base, arc, elysium or solana. Deal ids are per chain: pass the chain the deal was opened on."
  2. Changed1 schema field changed
    • changedInput schema / properties / chain / description
      Previous value: -"robinhood (default), base, arc, elysium or solana. Deal ids are per chain: pass the chain the deal was opened on."New value: +"robinhood (default), base, arc, elysium, solana or near. Deal ids are per chain: pass the chain the deal was opened on."
  3. Changed1 schema field changed
    • changedInput schema / properties / chain / description
      Previous value: -"robinhood (default), base, elysium or solana. Deal ids are per chain: pass the chain the deal was opened on."New value: +"robinhood (default), base, arc, elysium or solana. Deal ids are per chain: pass the chain the deal was opened on."
  4. Changed1 schema field changed
    • addedInput schema / properties / escrow
      Added value: +{
      +  "description": "Optional: the escrow contract the deal lives on, as listed in bull_stats recent[].escrow. Needed only for a deal on an earlier (retired) escrow: deal numbers restart at 1 on every escrow. Default: the current escrow.",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • changedInput schema / properties / chain / description
      Previous value: -"robinhood (default), base or solana. Deal ids are per chain: pass the chain the deal was opened on."New value: +"robinhood (default), base, elysium or solana. Deal ids are per chain: pass the chain the deal was opened on."
  6. Changed1 schema field changed
    • changedInput schema / properties / chain / description
      Previous value: -"robinhood (default) or base. Deal ids are per chain: pass the chain the deal was opened on."New value: +"robinhood (default), base or solana. Deal ids are per chain: pass the chain the deal was opened on."
  7. Changed1 schema field changed
    • addedInput schema / properties / chain
      Added value: +{
      +  "description": "robinhood (default) or base. Deal ids are per chain: pass the chain the deal was opened on.",
      +  "type": "string"
      +}
  8. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces that with 'Public, no signature needed' (no auth/signing path required) and 'Returns the deal state read from the contract' (read from chain, not cache). It does not discuss latency, finality, or failure behavior for unknown deal ids.

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: purpose first, then access model, then return semantics. Nothing is repeated from the schema and there is no filler.

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?

With no output schema, the description only says the result is 'the deal state read from the contract' without indicating the shape of that state or how funded/unfunded flags surface. Combined with fully documented parameters and existing annotations, the gap is modest but real for a verification tool whose whole value is the returned state.

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%, with chain, dealId and escrow all documented in the schema including the deal-numbering caveat. The description adds no parameter-level meaning beyond that, 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?

Names a specific verb and resource ('verify any escrow deal onchain') and enumerates the states it resolves (open, settled, cancelled) plus funding status of buyer and seller. It is clear on its own, but it does not distinguish itself from adjacent read tools such as bull_get_receipt or bull_agreement_status.

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?

'Use to verify any escrow deal onchain' gives a clear trigger context, and 'Public, no signature needed' removes a common prerequisite question. There are no explicit when-not conditions and no named alternative tool to route to, so it stops short of full routing 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.

Resources