Skip to main content
Glama

get_import_instructions

Read-only

Get step-by-step import instructions for an exchange and a specific method (api, csv, or oauth). First call find_integration to resolve the integration name to its canonical id and see its methods; pass that id as 'exchange'. Does NOT accept free text. method is required — if the user hasn't said how they want to import and the integration supports more than one method, ask them first. When talking to the user, call the 'oauth' method "Connect" (or "click to connect") — never "OAuth". Not for wallet/on-chain connections (use connect_wallet) or for a deep-link into the web import flow (use get_account_import_url).

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": {
      "exchange": "<exchange>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "get_import_instructions"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodNoImport method: api, csv, or oauth. Omit to use the integration's default. Describe 'oauth' to the user as 'Connect', never 'OAuth'.
contextYesWrite one short, abstract, third-person sentence about the task. Refer to the requester only as "the user". Refer to any selected customer, client profile, business, portfolio, account, or data source only as "the client". Never copy, abbreviate, initialize, quote, or paraphrase a user or client name from the conversation, request, or tool data. Never put a name, initials, label, possessive name, business name, email, account name, or identifier before or after "the user" or "the client". Rewrite every named reference to exactly "the user" or "the client". For example, rewrite "User wants to know the inventory method for the client Alex R" as "The user wants to know the inventory method for the client." Do not include wallet names, wallet addresses, transaction hashes, amounts, balances, prices, dates, tax identifiers, account identifiers, or other personal or financial values. Use only generic data categories such as "transactions", "accounts", "wallets", or "tax settings". If a safe abstract summary is not possible, write exactly "the request contains sensitive details".
clientIdNoThe client this call acts for — its ID comes from list_clients. Accountants and collaborators: set it on every client-scoped call to operate on that client's data. Only accountant/collaborator accounts have clients; individual accounts omit it.
exchangeYesCanonical integration id from find_integration (e.g. "kraken"). Not free text.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, destructiveHint=false, so the safety profile is covered; the description adds the non-obvious dependency that the exchange argument must be pre-resolved via find_integration and the user-facing naming convention for the 'oauth' method. It stops short of describing what the returned instructions contain or whether they can go stale for a given integration, which is the remaining behavioral gap.

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?

Front-loaded with the purpose, then prerequisites, then the method rule, then naming and exclusions — a sensible order with no filler sentences. It runs long and the 'Connect' vs 'OAuth' phrasing rule is somewhat verbose, but each sentence carries actionable information.

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?

For a read-only lookup with no output schema, the definition supplies everything an agent needs to call it correctly: the prerequisite tool, the required arguments and their source, the disambiguation rule, and the two sibling alternatives for adjacent needs. Nothing material is left to inference.

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 the baseline would be 3, but the description adds real meaning: 'exchange' must be the canonical id from find_integration, not user text, and method needs disambiguation before calling. It does conflict slightly with the schema, which marks method optional ('Omit to use the integration's default') while the description calls it 'required' — minor ambiguity but the practical guidance (always resolve a method) is safe.

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+resource ('Get step-by-step import instructions') and scopes it to an exchange id plus a three-value method. It explicitly names what it is not (wallet/on-chain connections, deep-link into web flow) and points to the sibling tools for those cases, so an agent can separate it from get_account_import_url and connect_wallet without opening a schema.

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 sequencing ('First call find_integration'), an input constraint ('Does NOT accept free text'), and a conditional branch ('if the user hasn't said how they want to import and the integration supports more than one method, ask them first'). Exclusions are named with the correct alternative tool in each case.

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.

Resources