Skip to main content
Glama

categorize-transactions

Upload a bank statement file

bank_upload
DestructiveIdempotent

Send a bank export to this hosted endpoint. There is no filesystem here, so instead of a path you upload the file once with bank_upload and then pass its name as path to statement_import. Give exactly one of content (the export as text, header row included - this is the normal case for a CSV), content_base64 (the file's bytes, which keeps a UTF-16 export from Excel readable) or url. url: fetch a public file instead of pasting base64 (recommended above about 10 KB): the url is fetched here with a 10 second timeout, at most 3 redirects, public http(s) hosts only, and a 1 MB cap; the fetched file has to be delimited text, so a PDF statement is refused rather than stored. Uploads are kept for your token between calls; bank_files lists them and bank_delete_upload removes one. The request body cap is 256 KB, so a large export pasted as text has to be split by month.

Input Schema

NameRequiredDescriptionDefault
urlNourl: fetch a public file instead of pasting base64 (recommended above about 10 KB). Public http(s) only; private, link-local and this endpoint's own zone are refused
nameYesName to refer to this statement by: 1-64 characters of letters, digits, underscore or dash, e.g. "september"
contentNoThe export as text, including the header row
content_base64NoThe file's bytes, base64-encoded, instead of text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Far beyond the annotations: 10 second fetch timeout, max 3 redirects, public http(s) only, 1 MB fetch cap, delimited-text-only validation (PDFs refused), 256 KB request body cap, and per-token persistence between calls. The gap is the destructiveHint=true annotation — the description never says what an upload with an existing name does to the prior file, nor does it explain the idempotency the annotations claim.

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 critical constraint — upload once, pass `name` as `path` downstream — is front-loaded, and the three-way content choice follows immediately. It is dense and sentence-heavy, but nearly every clause carries a limit or exception an agent would otherwise get wrong.

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?

Complete on inputs and on the downstream workflow, including the caps that force chunking a large export by month, which is exactly the trap an agent would hit. With no output schema, however, the description never says what comes back (a confirmation? the stored name? a file listing?), which is the one thing an agent must guess.

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%, so the schema already documents all four parameters, which sets the baseline at 3. The description does add real value on top (mutual exclusivity, header row required, why base64 exists), but it stops short of adding anything the schema descriptions don't already imply.

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?

Specific verb and resource ('Send a bank export to this hosted endpoint') with the crucial reframing that there is no filesystem, so the file is uploaded once and referenced by name in statement_import. This cleanly separates it from statement_import, bank_files and statement_export without opening their schemas.

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

Usage Guidelines5/5

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

States the selection rule explicitly — 'exactly one of content, content_base64 or url' — and gives the conditions that pick each: plain text/CSV is the normal case, base64 for UTF-16 Excel exports, url recommended above ~10 KB instead of pasting base64. It also routes lifecycle questions to the siblings bank_files and bank_delete_upload.

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.