Skip to main content
Glama

Card fee paid by the client

get_card_fee_setting
Read-onlyIdempotent

Whether this set of books passes the card PROCESSING fee of a client's card payment on to the client (invoice pay link, Tap to Pay, and card-on-file charges the client agreed to). Only the processing fee (processingBps / 100 % plus processingFixedMinor cents), never a Mobile Accounting fee; only credit cards (never debit, prepaid or Interac); at most capPercent of the amount (the business pays anything above). available=false with reasonCode COUNTRY or REGION means it is not allowed where the business is (outside the US and Canada, or in Quebec, Connecticut, Massachusetts or Puerto Rico); reasonCode OFF means allowed but not turned on. This only reads: the business owner turns it on or off in Mobile Accounting (settingsUrl), where they confirm the card rules themselves.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_card_fee_setting"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdNoThe set of books, from list_books (optional when the connection reaches only one).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotent and non-destructive, so the safety profile is covered. Beyond that, the description discloses real behavioral context: only credit cards (never debit, prepaid or Interac), a capPercent ceiling above which the business absorbs the fee, and the meaning of available=false with reasonCode COUNTRY/REGION versus OFF. This adds genuine value that neither annotations nor the schema carry.

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?

The core meaning is front-loaded in the opening clause, and the remaining clauses each carry necessary qualification (fee scope, card types, cap, reason codes, read-only restriction). It is written as one dense semicolon-chained block, though, which makes the reasonCode semantics harder to scan than a short structured list would.

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?

An output schema exists, so return values need no explanation, and the description still volunteers the eligibility and reasonCode semantics an agent would otherwise have to guess. For a one-parameter read tool, an agent has everything needed to decide whether to call it and how to interpret 'not allowed here' versus 'not turned on'.

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?

There is a single optional parameter, bookId, and schema description coverage is 100%, so the schema already explains it as coming from list_books and being optional for single-book connections. The description adds nothing about bookId, which is acceptable given the baseline of 3 for fully documented schemas.

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?

The description defines the concept precisely: it reports whether this set of books passes the card PROCESSING fee on to the client, scoping the fee to processingBps and processingFixedMinor and excluding any Mobile Accounting fee. That is far more specific than the title and distinguishes it from other read tools in the sibling list. It never uses an explicit verb like 'returns' for the tool itself, so the read action is only inferred from context.

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

Usage Guidelines4/5

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

It states the tool's role clearly — 'This only reads: the business owner turns it on or off in Mobile Accounting (settingsUrl)' — telling the agent this is for inspection and that the toggle is unavailable here, which functions as a when-not-to-use signal. It stops short of naming an alternative tool or an explicit trigger condition such as checking before invoicing a client.

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