Skip to main content
Glama

netfluid__account_swap

Swaps one digital asset for another on an account level. Confirm (yes/no) before executing

Swaps one digital asset for another on an account level, use digital_asset_fk=0 or to_digital_asset_fk=0 to indicate FIAT @param api_key: The api key allocated to your application @param token: The wallet_api_token provided by /access/login @param account_fk: The account_fk (this is a database ID (int) not an account address (str) and may not be 0) The account_fk from which to swap @param digital_asset_fk: The origin digital_asset_fk to swap @param to_digital_asset_fk: The digital_asset_fk to swap @param amount: The amount of the digital_asset_fk to swap @param note: The transaction note

@return: a json object

Input Schema

NameRequiredDescriptionDefault
noteNo
tokenYes
amountYes
api_keyYes
account_fkYes
digital_asset_fkYes
to_digital_asset_fkYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the required human confirmation step, the auth inputs (api_key and a token from /access/login), and the FIAT sentinel convention, but it says nothing about reversibility, permissions, rate limits, or failure behavior for what is inherently a mutating financial operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is duplicated almost verbatim ('Swaps one digital asset for another on an account level') before the JSDoc-style @param block, and the @return note ('a json object') is near-empty filler. The parameter documentation is valuable, but the structure wastes space on repetition.

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 7-parameter mutation tool with no annotations and no output schema, the description covers purpose, every parameter, authentication, and the confirmation/ FIAT conventions. The only real gap is the unspecified response shape, which matters less given swaps are typically fire-and-confirm.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does: it documents all seven parameters, warns that account_fk is an integer database ID (not an address) and may not be 0, and explains the digital_asset_fk=0 / to_digital_asset_fk=0 convention for indicating FIAT. This adds meaning well beyond the bare types in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (swaps) and resource (one digital asset for another) with scope ('account level'), which implicitly separates it from the blockchain-level crypto_swap/crypto_dex_swap siblings. It does not explicitly name the alternative tools, so the differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description front-loads a useful interaction rule ('Confirm (yes/no) before executing') and scopes the operation to the account level, but it never says when to choose this over netfluid__crypto_swap or netfluid__account_sell, nor what prerequisites must hold before swapping. Usage is implied rather than guided.

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