Skip to main content
Glama

import_expenses_csv

Preview a card or bank statement CSV before importing it, skipping duplicate and card payment lines so only approved expenses are added to Callsheet.

Instructions

Import a card or bank statement CSV from this computer. Always preview first (dry_run true), show the rep the preview and skipped lines, then import with dry_run false only after they say yes. Duplicates and card payments are skipped.

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": {
      "path": "<path>"
    },
    "name": "import_expenses_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
companyNo
dry_runNo
payment_methodNocorporate card

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it reveals the dry-run default, the mandatory human-confirmation gate, and the skip rules for duplicates and card payments. It stops short of covering failure modes (malformed CSV, partial imports) or company scoping, which for an unannotated write tool would be valuable.

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 operation and immediately followed by the mandatory workflow. Every sentence carries operational weight; nothing is restated from the schema or title.

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?

No output schema and no annotations, so the description must supply the safety and return context — and it does for the preview/confirm flow and skip behavior. The remaining gaps are the two undocumented parameters and error handling for a write operation.

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 0%, so the description must compensate for four parameters. It fully explains dry_run semantics and implies path refers to a local file, but company and payment_method are never mentioned — notably payment_method despite the statement that card payments are skipped.

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?

States a specific verb and resource — import a card or bank statement CSV — plus the source ('from this computer'), which cleanly separates it from export_expenses_csv and log_expense in the sibling list. An agent can identify the operation without opening 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 Guidelines5/5

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

Prescribes a concrete two-step workflow: always preview with dry_run=true, show the rep the preview and skipped lines, then re-run with dry_run=false only after explicit approval. It also names exclusions (duplicates and card payments are skipped), leaving little to inference.

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