Skip to main content
Glama

netfluid__account_charge

Charges the account based on a presented QR-code or NFC card. Confirm (yes/no) before executing

Charges the account based on a presented QR-code or NFC card. The payer must present a valid PIN for the transaction to complete @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 merchant's account_fk, typically the account that will receive the payment @param account_address: The account_address that will be charged @param amount: The amount to charge @param pin: The account PIN of the account_address that will be charged @param note: The note on the transaction

@return: a json object

Input Schema

NameRequiredDescriptionDefault
pinYes
noteNo
tokenYes
amountYes
api_keyYes
account_fkYes
account_addressYes

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

B3.4/5.0
Behavior3/5

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

Annotations are empty, so the description carries the full burden. It does disclose real behavior: a confirmation gate before execution and a hard PIN requirement for completion, plus api_key/token auth. It omits irreversibility, failure behavior, and rate limits, which matters for a money-moving mutation.

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 core sentence 'Charges the account based on a presented QR-code or NFC card' is repeated verbatim in the opening and again in the body, wasting space. The rest is a functional JSDoc block, and key constraints (confirmation, PIN) are front-loaded, but the duplication costs it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter payment mutation with no annotations and no output schema, the definition covers inputs well but returns only 'a json object' and says nothing about error cases, idempotency, or what a successful charge response contains. Adequate but leaves meaningful gaps for a high-stakes tool.

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 0%, so the description must compensate, and it largely does: it disambiguates account_fk (an int database ID, not an address, may not be 0, and is the merchant receiving payment) from account_address (the account charged), and clarifies token provenance (/access/login) and that pin belongs to account_address. Only amount and note get no added meaning.

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+resource ('Charges the account') plus the triggering mechanism ('presented QR-code or NFC card'), which distinguishes it from generic siblings like account_pay or account_send. However it never names or excludes those siblings explicitly, 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?

It gives an operational instruction ('Confirm (yes/no) before executing') and a prerequisite ('The payer must present a valid PIN'), which implies the usage context. But with many overlapping payment siblings (account_pay, account_send, account_wire, account_merchant_voucher_redeem), there is no explicit when-to-use-this-vs-alternatives guidance.

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