Skip to main content
Glama
jun229

truemarkets-mcp-server

by jun229

tm_execute_transfer

Execute prepared transfers on True Markets to move assets between accounts. This tool finalizes transfers initiated with tm_prepare_transfer, providing transaction confirmation and details.

Instructions

Execute a transfer prepared with tm_prepare_transfer. Irreversible.

Args:

  • transfer_id (string): From tm_prepare_transfer

Returns: { success, tx_hash, chain, sent, fee, explorer_url }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
transfer_idYestransfer_id from tm_prepare_transfer

Implementation Reference

  • Registration and handler implementation of the 'tm_execute_transfer' MCP tool.
      server.registerTool(
        "tm_execute_transfer",
        {
          title: "Execute a prepared transfer",
          description: `Execute a transfer prepared with tm_prepare_transfer. Irreversible.
    
    Args:
      - transfer_id (string): From tm_prepare_transfer
    
    Returns: { success, tx_hash, chain, sent, fee, explorer_url }`,
          inputSchema: {
            transfer_id: z.string().describe("transfer_id from tm_prepare_transfer"),
          },
          annotations: {
            readOnlyHint: false,
            destructiveHint: true,
            idempotentHint: false,
            openWorldHint: true,
          },
        },
        async ({ transfer_id }) => {
          // For transfers, we need to re-prepare to get payloads
          // (The prepare response payloads aren't cached like quotes)
          // This is a limitation — in production, we'd cache prepare responses too
          return {
            isError: true,
            content: [{
              type: "text",
              text: "Transfer execution requires payload signing. " +
                    "This is a scaffolded implementation — see TODO in source.",
            }],
          };
        }
      );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jun229/tm-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server