Skip to main content
Glama

get_instructions

Access the complete guide for cross-chain cryptocurrency swaps and transfers, including workflow steps, pricing estimation, and transaction initiation.

Instructions

CALL THIS FIRST. Returns the full guide for the deBridge MCP server: how to initiate cross-chain and same-chain cryptocurrency swaps and transfers, estimate pricing, inspect paths and fees, and generate a deBridge App URL for the user to complete the transaction. Covers the recommended workflow (resolve chains → resolve tokens → create transaction → generate link) and practical tips for every tool in this server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/server.ts:20-34 (registration)
    Complete registration of get_instructions tool using server.registerTool(), including schema definition and inline handler function
    server.registerTool(
      "get_instructions",
      {
        description:
          "CALL THIS FIRST. Returns the full guide for the deBridge MCP server: " +
          "how to initiate cross-chain and same-chain cryptocurrency swaps and transfers, " +
          "estimate pricing, inspect paths and fees, and generate a deBridge App URL " +
          "for the user to complete the transaction. " +
          "Covers the recommended workflow (resolve chains → resolve tokens → create transaction → generate link) " +
          "and practical tips for every tool in this server.",
      },
      () => ({
        content: [{ type: "text", text: skillMd }],
      }),
    );
  • Handler function that executes the get_instructions tool logic, returning the skillMd content (loaded from SKILL.md) as text
    () => ({
      content: [{ type: "text", text: skillMd }],
    }),
  • Schema definition for get_instructions tool with description field explaining the tool's purpose and capabilities
    {
      description:
        "CALL THIS FIRST. Returns the full guide for the deBridge MCP server: " +
        "how to initiate cross-chain and same-chain cryptocurrency swaps and transfers, " +
        "estimate pricing, inspect paths and fees, and generate a deBridge App URL " +
        "for the user to complete the transaction. " +
        "Covers the recommended workflow (resolve chains → resolve tokens → create transaction → generate link) " +
        "and practical tips for every tool in this server.",
  • Helper code that loads SKILL.md file content into skillMd variable, which is used by the get_instructions handler
    const skillMd = readFileSync(resolve(__dirname, "../SKILL.md"), "utf-8");

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/debridge-finance/de-bridge'

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