Skip to main content
Glama
Community Finmap MCP Server

Community Finmap MCP Server

finmap_expense_create

Create an expense operation from a source account, and include an externalId so retries reject duplicates instead of recording the expense twice.

Instructions

Create an expense operation. Pass externalId so a retry cannot create a duplicate.

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": {
      "amount": "<amount>",
      "accountFromId": "<accountFromId>"
    },
    "name": "finmap_expense_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate (YYYY-MM-DD, stored as 00:00 UTC; default: today)
amountYesAmount (must be positive)
tagIdsNo
commentNo
projectIdNo
categoryIdNoExpense category ID
externalIdNoYour unique ID for this record. Recommended: pass the same value on a retry and Finmap rejects the duplicate (409) instead of creating it twice. Finmap generates one if omitted.
accountFromIdYesSource account ID (use finmap_accounts to find)
counterpartyIdNoSupplier, employee, owner, tax organisation, creditor or debitor ID (use finmap_counterparties)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the write profile is covered. The description adds one genuinely useful behavioral fact — that a repeated externalId yields a 409 rejection rather than a duplicate — but says nothing about the financial side effect on account balances, error behavior for missing accounts/categories, or what is returned on success.

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, action first and the retry safeguard second. Nothing is wasted and the key operational tip is front-loaded rather than buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a nine-parameter money-moving mutation with no output schema, and the description covers only the dedupe tip. It omits which fields are required, that amount must be positive, the effect on the source account balance, and the shape of a successful response — all material for calling a financial create operation correctly.

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 67%, so the schema already documents most fields, and externalId in particular is explained there in far more detail than in the description. The description's single parameter sentence is effectively a compressed restatement of the schema's externalId text and adds no new meaning for the other eight parameters.

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?

States a specific verb and resource ('Create an expense operation'), which is unambiguous on its own. It does not explicitly distinguish itself from finmap_income_create or finmap_transfer_create, but the verb+resource pair makes the domain clear without opening a schema.

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

Usage Guidelines2/5

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

The only guidance is about retries and externalId; there is no statement of when to use this instead of finmap_transfer_create or finmap_income_create, and no prerequisites (e.g., that accountFromId must be an existing account, that positive amount is required). An agent must infer the selection rule from the tool name alone.

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