Skip to main content
Glama

Reef MCP (BlockDAG chain 1404)

reef_prepare

Read-only

Prepare an action as a link that opens Reef, Nodal or Handshake with everything filled in, plus the steps and a rough gas cost. Actions: swap (Reef), nodal_swap, add_liquidity, remove_liquidity, fill_offer (Handshake), create_offer (Handshake), lock (Reef Lock). Never signs or sends: the person confirms in their own wallet.

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": {
      "action": "<action>"
    },
    "name": "reef_prepare"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoswap: token you get: BDAG, a symbol with a Reef pool (e.g. REEF, NOCAP), or a 0x token address
fromNoswap: token you pay: BDAG, a symbol with a Reef pool (e.g. REEF, NOCAP), or a 0x token address
tokenNoadd/remove liquidity or lock: the token (or LP address for lock): BDAG, a symbol with a Reef pool (e.g. REEF, NOCAP), or a 0x token address
actionYes
amountNoswap: amount of `from`
offer_idNofill_offer: Handshake offer number

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 openWorldHint=false, and the description reinforces that with 'Never signs or sends: the person confirms in their own wallet'. It also discloses the shape of the response (link, steps, rough gas cost), which the annotations cannot convey. Deeper caveats such as approval prerequisites or expiry are absent.

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?

Two sentences, no filler: the first front-loads what is produced, the second states the safety boundary. The action-to-venue map is compressed into a single clause without losing information.

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?

With six parameters and no output schema, the description correctly spends its words on the return artifact and on the non-signing guarantee. It is nearly complete for a link-building tool; only edge conditions (missing pool, unsupported pair) are left to be discovered at call time.

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 already 83%, so the baseline is 3. The description goes further by mapping each action to its venue (swap to Reef, fill_offer/create_offer to Handshake, lock to Reef Lock), adding meaning the bare enum in the schema does not carry.

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 (prepare) and a precise output artifact (a link that opens Reef, Nodal or Handshake with fields pre-filled, plus steps and a rough gas cost), and enumerates the action set. It is not tautological and clearly separates itself from quoting/execution tools conceptually, though it never names a sibling to route against.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: reach for this when an action should be prepared for the user to confirm in their own wallet, and the action list tells which venue each intent belongs to. There is no explicit 'when not to use' and no pointer to reef_quote for pricing or handshake_offers for browsing, so an agent must infer the boundaries.

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.