Skip to main content
Glama
Orderly Trading MCP

Orderly Trading MCP

Official

Register an account (onboarding step 2)

wallet_register
Destructive

Register a wallet with Orderly under a broker ID to create an exchange account record and return the account ID, enabling account setup for trading.

Instructions

Register the wallet with Orderly under a broker ID (for example "demo" on testnet). This creates the account record on the exchange and returns the account ID. Requires the wallet address from wallet_create. Ask the user for the broker ID; do not invent one.

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": {
      "broker_id": "<broker_id>",
      "address": "<address>"
    },
    "name": "wallet_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesWallet address (required for AI/scripts, prompts if omitted)
networkNoNetwork override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
broker_idYesBroker ID, e.g., "demo" (required for AI/scripts, prompts if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.5

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the description does not need to restate safety. It adds useful context — that an account record is created on the exchange and an account ID is returned — but does not warn about what repeated registration does to an existing account, which is the notable behavioral risk given non-idempotent + destructive flags.

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, front-loaded with what the tool does, then the prerequisite, then the user-interaction rule. Every sentence carries operational information and nothing is padding.

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, and the description fills that gap by stating the return value (account ID). For a 3-parameter mutation with full schema coverage and annotations present, this is close to sufficient; the main omission is behavior on repeat invocation or when the wallet is already registered.

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 baseline is 3; the description adds provenance the schema does not, telling the agent that address comes from a prior wallet_create call and that broker_id must come from the user rather than being fabricated. The example broker ID is already in the schema, so that part is redundant, but the sourcing guidance is genuine added meaning.

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?

Specific verb+resource: 'Register the wallet with Orderly under a broker ID' that 'creates the account record on the exchange and returns the account ID'. It also positions itself in the onboarding sequence by naming the sibling it depends on (wallet_create), so an agent can distinguish it from wallet_create and wallet_add_key.

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?

Gives clear preconditions ('Requires the wallet address from wallet_create') and an explicit interaction rule ('Ask the user for the broker ID; do not invent one'), which prevents a common failure mode. It lacks an explicit statement of when not to call it (e.g., if an account already exists), so it falls short of a full when/when-not/alternatives treatment.

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