Skip to main content
Glama

list_accounts

Retrieve cash and bank accounts with optional name, currency, and sort filters. Use each returned account ID as account_id when recording payments or collections.

Instructions

List cash and bank accounts. Use an account's ID as account_id when recording payments/collections.

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": "list_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoFilter by account name
pageNoPage number (1-based)
sortNoSort field, '-' prefix for desc (e.g. '-balance')
currencyNoFilter by currency
per_pageNoItems per page (max 25)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden; "List" does imply a non-mutating read, but nothing is said about permissions, whether the result is paginated (the schema caps per_page at 25), or default ordering. The account_id hint is genuine added value beyond the schema, but behavioral disclosure is otherwise thin for a tool with zero annotation coverage.

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?

Two short sentences with zero waste, and the core purpose is front-loaded before the usage hint. Nothing is repeated from the schema.

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 simple read-only list with fully documented parameters this is close to adequate, but with no output schema the description says nothing about what an account record contains (ID, balance, currency) or pagination defaults. An agent can call it, but knows little about what comes back.

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 name, page, sort, currency, and per_page, making 3 the baseline. The description adds no filter semantics, sorting behavior, or interaction between filters; the account_id mention refers to a different tool's parameter, not one on this 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?

The description opens with a specific verb+resource: "List cash and bank accounts." That is concrete enough to separate it from siblings like list_account_transactions or list_contacts without opening a schema. It stops short of naming or contrasting an alternative sibling, so it is clear but not fully differentiated.

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?

The second sentence gives real downstream context: "Use an account's ID as account_id when recording payments/collections," which routes the agent toward payment/collection tools such as pay_to_contact or collect_from_contact. There are no exclusions or when-not-to-use notes, and no guidance on choosing among filter parameters, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.