Skip to main content
Glama

Bull Deposit

bull_deposit

Use as a SELLER to submit the signed permit from bull_deposit_plan. Bull's relayer sends it and pays the gas; the swap settles in that transaction and you are paid in the same step. Returns the transaction hash. 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>",
      "permitDeadline": "<permitDeadline>",
      "v": "<v>",
      "r": "<r>",
      "s": "<s>",
      "fundSig": "<fundSig>",
      "address": "<address>"
    },
    "name": "bull_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
rYesSignature r.
sYesSignature s.
vYesSignature v.
addressYesYour wallet address (the buyer or seller). Required.
fundSigYesSignature over the `fund` typed data from bull_deposit_plan (the full 65-byte signature).
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.
permitDeadlineYesmessage.deadline from the permit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / fundSig
      Added value: +{
      +  "description": "Signature over the `fund` typed data from bull_deposit_plan (the full 65-byte signature).",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "quoteId",
      -  "permitDeadline",
      -  "v",
      -  "r",
      -  "s",
      -  "address"
      -]New value: +[
      +  "quoteId",
      +  "permitDeadline",
      +  "v",
      +  "r",
      +  "s",
      +  "fundSig",
      +  "address"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare non-read-only, non-destructive; the description adds materially more: Bull's relayer submits the transaction and pays gas, the swap settles atomically in that same transaction, payment to the seller happens in the same step, the return value is a transaction hash, and there is a mandatory two-phase signature handshake. That is exactly the kind of context an agent needs before committing a write operation.

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 tight sentences, front-loaded with role and purpose, then mechanism, then the signing loop. No filler and nothing repeated from the schema beyond what the flow requires.

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 9-parameter write tool with no output schema, the description covers purpose, prerequisite, gas/payment mechanics, the signing handshake, and the return value. Minor gaps remain around failure/retry behavior and permit expiry, but nothing essential to invoking it correctly is missing.

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 baseline is 3, but the description adds the calling convention that governs two parameters: timestamp and signature must be omitted on the first call and supplied on the second with otherwise identical arguments. That ordering rule is behavioral meaning the schema alone leaves implicit.

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?

States a specific verb and resource ('submit the signed permit from bull_deposit_plan') plus the acting role ('as a SELLER'), which cleanly distinguishes it from the sibling that produces the permit (bull_deposit_plan). An agent can identify the operation without opening the schema.

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 names the prerequisite tool (bull_deposit_plan) and the role that should call this one, and spells out the two-call protocol: first call returns a message to sign, second call repeats the same arguments plus timestamp and signature. The when-to-use condition is unambiguous.

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