Skip to main content
Glama

Make import CSV

make_import_csv
Read-onlyIdempotent

Builds a CSV file of bank transactions in the exact layout an app imports: Xero, QuickBooks Online, YNAB, lexoffice (Lexware Office), or Excel (excel = comma and dot, excel_eu = semicolon and decimal comma). Also runs the balance check. Returns the CSV text and a file name.

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": {
      "app": "<app>",
      "transactions": "<transactions>"
    },
    "name": "make_import_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesTarget app.
date_orderNoDate order for Xero, QuickBooks and YNAB: dmy = DD/MM/YYYY, mdy = MM/DD/YYYY (US). Ignored for lexoffice and Excel.dmy
transactionsYesAll transactions of the statement, in statement order.
closing_balanceNoClosing (end) balance printed on the statement, if any.
opening_balanceNoOpening (start) balance printed on the statement, if any.

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, so safety is covered. The description adds value beyond that by disclosing an undocumented side computation ("also runs the balance check") and by stating the return payload (CSV text plus a file name) in the absence of an output schema. It does not say what happens when the balance check fails, which is the one behavioral gap.

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?

Three sentences, front-loaded with the core action, then the app-specific formatting rules, then the return shape. Every clause carries information; nothing is restated from the title or the schema.

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?

For a five-parameter generation tool with full schema coverage and no output schema, the description covers purpose, format variants, side effect and return value. The remaining gap is the semantics of the balance check itself — whether an imbalance blocks the CSV or is merely reported.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description genuinely adds meaning the schema lacks: it explains the excel vs excel_eu distinction (comma/dot versus semicolon/decimal comma), which the schema only labels "Target app." That is real disambiguation value for the most error-prone enum choice.

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?

"Builds a CSV file of bank transactions" gives a specific verb and resource, and the description enumerates every supported target app (Xero, QuickBooks Online, YNAB, lexoffice, Excel variants). It stops short of sibling differentiation: it says it "also runs the balance check" without clarifying how that relates to check_statement_balance, and never points to get_import_guide.

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?

The usage context is implied by the content — an agent can infer this is the tool to call when it needs an importable file for a named app. But there is no explicit when-to-use statement, no exclusion, and no routing to siblings like get_import_guide for format guidance or check_statement_balance for standalone verification.

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