Skip to main content
Glama

Get accounts

mofi_accounts_get
Read-onlyIdempotent

Find one owned account, list owned accounts, or filter by connection. Monetary values use { amount, currency } with amount as an exact decimal string; credit limits are not cash. Continue collections with page.nextCursor unchanged.

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": {
      "mode": "<mode>"
    },
    "name": "mofi_accounts_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesfindOne requires accountId; query requires where; findAll accepts page.
pageNoOpaque keyset pagination.
whereNoRequired only for query; use { connectionId }. Legacy type: connection is accepted.
accountIdNoRequired only for findOne.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
modeNo
pageNo
errorNoTyped error (code, message, retryable, details); set when isError is true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the bar is lower; the description still contributes real context by explaining monetary shape ({ amount, currency }, amount as exact decimal string) and that credit limits are not cash. It also documents pagination continuation via page.nextCursor. It stops short of clarifying what 'owned' scopes, e.g. user versus connection ownership.

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?

Three tight sentences with the capability statement front-loaded before the semantic caveats and pagination rule. Nothing is redundant, though the monetary note reads telegraphically and could be slightly clearer without adding length.

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?

An output schema exists, so return values need no explanation, and the description covers mode selection, money representation, and cursor handling for a four-parameter nested tool. The gap is ownership scope and permission expectations, which an agent might reasonably want before calling.

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?

With 100% schema description coverage the baseline is 3, and most of the description's parameter-adjacent content restates what the schema already says about modes. The one genuine addition is instructing callers to pass page.nextCursor back unchanged, which refines the schema's 'Opaque keyset pagination' note. That is useful but narrow.

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?

The description uses a specific verb and resource ('Find one owned account, list owned accounts, or filter by connection') and enumerates the three access patterns the tool supports. Because the resource is distinctly 'accounts', an agent can separate it from siblings like mofi_cards_get or mofi_transactions_get without reading 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 Guidelines3/5

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

Usage is only implied through the mode enumeration; the description never states when to choose this tool over mofi_connections_get or when-not to use it. The per-mode requirements (findOne needs accountId, query needs where) live in the schema rather than the description, so the prose adds little routing 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.