Skip to main content
Glama

get_contract_addresses

Read-onlyIdempotent

Get the deployed smart contract addresses for Orderly on a specific chain and network. chain is required; contractType filters to one contract (e.g. vault, usdc, usdt) or 'all'; network selects mainnet (default) or testnet. 'all' lists every contract with an address on the selected network; a specific type also returns its description and the address on the other network when available. Unknown chains or contract types return the valid options. Read-only lookup from bundled data — no network calls, credentials, or side effects. Use for deployment and wiring addresses only; for API details use get_api_info or the matching named API tool, for SDK symbols use search_orderly_docs, and for integration steps use explain_workflow.

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": {
      "chain": "<chain>"
    },
    "name": "get_contract_addresses"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesChain name (e.g., 'arbitrum', 'optimism', 'base', 'ethereum', 'solana')
networkNoNetwork type ('mainnet' or 'testnet')mainnet
contractTypeNoContract type (e.g., 'vault', 'usdc', 'usdt') or 'all' for all contractsall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld=false, and the description adds genuinely new behavior: no network calls or credentials, unknown inputs return the valid options, and a specific contractType also returns its description and the other-network address. That detail goes well beyond the annotation set.

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 core operation and required parameter are front-loaded, then defaults and return behavior, then routing guidance. It is dense but nearly every clause carries information; slightly long for a three-parameter lookup.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description explains the shape of results for both 'all' and specific-type cases, plus error behavior. Combined with annotations, an agent has everything needed to call it correctly and interpret the response.

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 per-parameter types are already documented; the description still adds meaning the schema lacks, namely what 'all' returns versus a specific type and the cross-network fallback. It does not enumerate valid contract types beyond the vault/usdc/usdt examples, but the unknown-input fallback covers that gap.

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 ('Get the deployed smart contract addresses for Orderly') scoped to chain and network. It then explicitly distinguishes itself from siblings by naming get_api_info, search_orderly_docs, and explain_workflow for their respective domains.

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?

Gives explicit 'use for deployment and wiring addresses only' scoping plus a negative routing rule to three named alternatives. An agent can select this tool without inspecting any other definition.

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.