Skip to main content
Glama

get_account_import_url

Read-only

Generate a web app URL for importing/connecting an account.

Use this when:

  • The integration requires OAuth or browser-extension authentication (e.g. Coinbase, MetaMask)

  • The user prefers to enter credentials in the browser rather than share them with an agent

  • You want to provide a quick link for the user to add an account themselves

  • The user wants to upload a CSV file (pass importMethod: "csv" to open the upload form directly)

For wallet (address) integrations, you can also use connect_wallet directly. For API-key exchange integrations, send the user to the import URL to enter the key; use connect_exchange only if they already gave you a read-only key and explicitly ask.

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

Input Schema

NameRequiredDescriptionDefault
viewNoImport view to open: "new" for single account, "bulk" for bulk wallet import, "search" to browse integrations.new
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".
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.
importMethodNoSet to "csv" when the user wants to upload a CSV file: the link then opens the CSV upload form directly. Only applies to the "new" view.
integrationNameYesIntegration ID (e.g. 'coinbase', 'ethereum', 'binance'). Call find_integration first to resolve a user's free-text name or wallet address into a canonical integrationId, then pass that here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds useful behavior the annotations don't convey, namely that the returned link opens a specific view and that importMethod "csv" lands the user directly on the upload form. It doesn't say what the return value looks like or whether URLs expire, which would have pushed it higher, but nothing contradicts the annotations.

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?

Front-loaded one-line purpose followed by a scannable bullet list and a short alternatives paragraph; every sentence carries routing or behavior information. The only mild overlap is the CSV bullet duplicating the importMethod schema description.

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 5-parameter, read-only URL generator with annotations and no output schema, the description covers purpose, prerequisites (find_integration for integrationName is in the schema), views, and alternatives well. Minor gap: it never states that the result is a URL string to hand to the user, though 'Generate a web app URL' makes that nearly self-evident.

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 the schema already explains view, context, llm_model, importMethod and integrationName in detail. The description restates the importMethod=csv behavior (already in the schema) and implies the link is scoped to one integration, but adds no syntax, defaults, or constraints beyond what structured fields provide. Baseline 3 is appropriate.

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 and resource ('Generate a web app URL for importing/connecting an account') and immediately distinguishes the tool from connect_wallet and connect_exchange by naming which integration types each covers. An agent can pick this without opening the 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?

Provides an explicit 'Use this when' list (OAuth/browser-extension, credential-averse user, self-service link, CSV upload) and then routes the agent away for two concrete cases: wallet addresses -> connect_wallet, and API-key exchange -> import URL unless the key is already in hand and explicitly requested via connect_exchange. When-not guidance is present, not just when-to.

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