Skip to main content
Glama
iseppo

e-arveldaja MCP Server

by iseppo

Cleanup CAMT Possible Duplicate

cleanup_camt_possible_duplicate
Destructive

Resolve possible duplicate CAMT bank transactions by applying missing metadata to the kept older transaction and deleting the newly imported duplicate PROJECT transaction.

Instructions

Apply any missing CAMT metadata onto the kept older transaction and then delete the newly imported duplicate PROJECT transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keep_transaction_idYesExisting authoritative transaction ID to keep
patch_missing_fieldsNoOptional CAMT metadata to fill only if the kept transaction still lacks those values
delete_transaction_idYesNew duplicate PROJECT transaction ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.18.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the delete is flagged as destructive by structured data. The description usefully adds that metadata is only patched onto the kept transaction and that deletion targets the newly imported PROJECT duplicate, but it does not say whether deletion is reversible, what happens if the delete ID is not actually a duplicate, or what the operation returns.

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?

A single sentence that front-loads the patch action before the delete, which matches the actual execution order. It is efficient, though slightly dense with compound clauses.

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

Completeness3/5

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

For a destructive, non-idempotent mutation with a nested patch object and no output schema, the description covers the core mechanic but omits what an agent needs: behavior on validation failure, whether the delete is hard or soft, and confirmation requirements. Adequate but with clear gaps.

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 100%, so both IDs and the patch object are already documented in the schema. The description adds the semantic framing of which ID is authoritative ('kept older') versus deleted ('newly imported duplicate'), which reinforces but does not go beyond the schema's own descriptions.

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 compound verb+resource: patch CAMT metadata onto the kept transaction, then delete the duplicate PROJECT transaction. The keep/delete pairing is explicit and clearly distinguishes it from generic delete_transaction or detect_duplicate_purchase_invoice.

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?

Implied usage (resolving a detected possible-duplicate) is clear from the name and pairing of keep/delete IDs, but there is no explicit when-to-use statement, no mention of the sibling detect_duplicate_purchase_invoice as the upstream step, and no stated preconditions such as having already reviewed the duplicate.

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

Deploy Server

Other Tools