The create_withdrawal function in the LamPyrid MCP server has a bug where the destination_id parameter is ignored. When calling create_withdrawal with a destination_id specified, the transaction is always created with the Cash account (ID: 6) as the destination, regardless of what destination_id is provided.
Workaround: Using destination_name instead of destination_id works correctly and routes to the proper expense account.
Steps to Reproduce:
- Call
create_withdrawal with destination_id: "173" (or any expense account ID)
- Observe that the created transaction has
destination_id: "6" (Cash account) instead
Expected Behavior: Transactions should be created with the specified destination_id
Actual Behavior: Transactions default to Cash account (ID: 6) when destination_id is used