Skip to main content
Glama
themiguelamador

toconline-mcp

list_bank_accounts

List company bank accounts with IBAN, SWIFT, and type, enriched with country code and bank identifier for Portuguese reporting requirements like Modelo 30 and IES annexes.

Instructions

List company bank accounts (name, IBAN, SWIFT, type).

Each item is enriched with two derived fields:

  • pais_conta — ISO country code, from iban[:2] (e.g. PT, GB).

  • id_banco — bank identifier:

    • PT accounts: first 4 digits of nib (e.g. 0007 Novo Banco, 0035 Caixa Geral de Depósitos) — matches AT Tabelas_apoio.

    • Foreign accounts: swift when present, else iban[4:8].

Both are None when the underlying iban/nib/swift is empty — a TOCOnline data-completeness issue to fix in the web UI or via PATCH.

These derived fields are what Portuguese reports like Modelo 30 (foreign payments declaration) and IES bank annexes ask for.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoJSON:API sort, e.g. `name`.
fieldsNoComma-separated subset of fields to return.
page_sizeNoItems per page (1-500).
page_numberNo1-based page number.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, so description carries full burden. It transparently explains that each item is enriched with derived fields (pais_conta, id_banco) and how they are computed, including edge cases (None when underlying data is empty). It does not mention read-only nature or side effects, but as a listing tool, this is acceptable.

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?

The description is very concise: one sentence for main purpose, then explanation of derived fields and their relevance. No unnecessary words. Information is organized clearly.

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?

With output schema present, return value explanation is unnecessary. The description covers derived fields and their purpose, and mentions data completeness issues. It does not explicitly mention pagination, but schema parameters cover that. Slight gap on filtering capabilities, but overall complete for a listing tool.

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 coverage is 100% with clear descriptions for each parameter (sort, fields, page_size, page_number). The description adds no additional parameter-level detail beyond what the schema provides. For example, it does not mention that fields can include derived fields. Baseline 3 is appropriate since schema does the work.

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 clearly states the tool lists company bank accounts with fields like name, IBAN, SWIFT, type. It specifies the resource (bank accounts) and verb (list), and distinguishes itself from siblings like get_bank_account by implying this tool returns multiple accounts.

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 description provides context about derived fields being used for Portuguese reports (Modelo 30, IES), guiding when to use this tool. It does not explicitly mention alternatives among siblings, but the sibling list includes get_bank_account, which implies for a single account use that instead. The data completeness note also helps manage expectations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/themiguelamador/toconline-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server