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
| Name | Required | Description | Default |
|---|---|---|---|
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 }], }), ); - src/server.ts:31-33 (handler)Handler function that executes the get_instructions tool logic, returning the skillMd content (loaded from SKILL.md) as text
() => ({ content: [{ type: "text", text: skillMd }], }), - src/server.ts:22-29 (schema)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.", - src/server.ts:12-12 (helper)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");