Skip to main content
Glama

Bull Attach Deal

bull_attach_deal

Use as a BUYER after sending createDeal: report the dealId. Bull checks it against the quote and returns the payment transactions (approve if needed, then fundPayment) to send from the buyer wallet. When the seller deposits, the swap settles in that transaction. Signed: the first call returns a message to sign; call again with the same arguments plus timestamp and signature.

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": {
      "quoteId": "<quoteId>",
      "dealId": "<dealId>",
      "address": "<address>"
    },
    "name": "bull_attach_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
dealIdYesDeal number from the DealCreated event.
addressYesYour wallet address (the buyer or seller). Required.
quoteIdYesQuote id.
signatureNoEIP-191 personal_sign of `message` from the previous response. Leave empty on the first call.
timestampNoFrom the previous bull_* response. Leave empty on the first call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the two-step signing flow, the returned payment transactions, the approve/fundPayment sequence, and the seller-deposit settlement behavior. It does not cover failure modes or permission details, so it is strong but not exhaustive.

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 front-loaded with the buyer/after-createDeal condition and then explains the transaction flow and signing protocol. It is dense but every sentence contributes; the 'Signed:' fragment is slightly abrupt but not wasteful.

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?

There is no output schema, but the description explains the key return values: payment transactions and a message to sign on the first call. It also covers the settlement trigger. It leaves secondary details such as error handling and validation failures unspecified.

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?

Schema coverage is 100%, so the schema already defines the parameters. The description still adds meaningful procedural semantics for dealId reporting and the repeated call with timestamp and signature, improving on the baseline.

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 states a specific action and context: report a dealId as a buyer after createDeal, and Bull checks it against the quote and returns payment transactions. This distinguishes the tool from generic deal or quote tools, though it does not explicitly name sibling alternatives.

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?

It gives clear usage context: call as a BUYER after sending createDeal. It also explains the signed-call sequence. It does not state when not to use this tool or name alternatives, keeping it below a 5.

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