Skip to main content
Glama

Cadence (Arc MCP)

chord_prepare

Read-only

Prepare UNSIGNED Chord OTC transactions for the user to review and sign in their own wallet: create an offer, fill one, or cancel one. Returns the transactions in order (an approval first when needed) plus a plain-English summary. Nothing is signed or sent by this tool. Funds never sit in Chord: the maker's side stays in their wallet under an approval until a fill moves both sides in one transaction.

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>",
      "wallet": "<wallet>"
    },
    "name": "chord_prepare"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOffer id (fill or cancel)
giveNocreate: which side the user gives
tokenNocreate: the non-USDC token (listed symbol or address)
actionYescreate a new offer, fill an open one, or cancel your own
walletYesThe user's Arc address (used to check balance, approval and eligibility)
usdc_amountNocreate: amount of USDC
token_amountNocreate: amount of the token
private_takerNocreate, optional: only this address may fill
expires_in_hoursNocreate, optional: 0 or omitted = no expiry

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses the output shape (transactions in order, approval first when needed, plus a plain-English summary) and the custody model (funds never sit in Chord; the maker's side stays in their wallet under an approval). 'Nothing is signed or sent by this tool' is consistent with readOnlyHint=true, reinforcing rather than contradicting it.

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?

Four sentences with zero filler. The core action is front-loaded, followed by return shape, safety posture, and the custody model in decreasing order of importance.

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 transaction-building tool with no output schema, the description covers purpose, returns, and the no-custody/no-signing guarantee adequately. It does not say what happens on failure (insufficient balance, missing approval, ineligible wallet) even though the wallet parameter implies those checks, leaving a small gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter, including the create-only fields and the action enum, is already documented in the schema. The description adds no extra parameter meaning (formats, units, defaults) beyond what the schema provides, so the baseline 3 applies.

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 and resource — 'prepare UNSIGNED Chord OTC transactions' — and enumerates the three supported operations (create, fill, cancel). It does not explicitly differentiate itself from the sibling chord_offer, so an agent must infer whether chord_offer executes rather than prepares.

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?

Usage context is clear: this is the review-and-sign preparation step, with signing happening in the user's own wallet, which tells an agent this is a pre-flight tool rather than an execution tool. It stops short of naming an alternative or stating an explicit when-not condition.

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.